mac 防止 下载 睡眠_如何暂时防止Mac进入睡眠状态

mac 防止 下载 睡眠

mac 防止 下载 睡眠

amphetamine-featured

Let’s say you start a big download, then go to bed. When you wake up, you realize your Mac went to sleep before finishing its job. Isn’t there some way to stop this?

假设您开始进行大量下载,然后上床睡觉。 当您醒来时,您意识到Mac在完成其工作之前就进入了睡眠状态。 有没有办法阻止这种情况?

You probably know you can go into your Mac’s System Preferences > Energy Saver and change how often it goes to sleep.

您可能知道您可以进入Mac的“系统偏好设置”>“节能器”并更改其进入睡眠的频率。

But occasionally, you want to keep it awake indefinitely, or for a different amount of time than what you have set in System Preferences. Instead of changing your permanent settings, you can apply some temporary settings with a free Mac app called Amphetamine. It also lets you program your Mac to stay awake under particular conditions, such as when a particular Wi-Fi network is nearby, a certain app is open, or during set hours of the day.

但是有时,您希望将其无限期唤醒,或者保持与在“系统偏好设置”中设置的时间不同的时间。 您可以使用免费的Mac应用程序Amphetamine来应用一些临时设置,而无需更改您的永久设置。 它还可以让您对Mac进行编程,使其在特定条件下保持清醒状态,例如当附近有特定的Wi-Fi网络,打开了某个应用程序或在一天中的特定时段内。

You can also do some of this with a simple Terminal command, Amphetamine is much more powerful, if you’re willing to install an extra app.

您还可以使用简单的Terminal命令执行其中的一些操作,如果您愿意安装额外的应用程序,则苯丙胺的功能要强大得多。

如何使用苯丙胺 (How to Use Amphetamine)

Download, install, and launch Ampetamine like you would any other Mac app. When you do, and you’ll see a new icon in the menu bar that looks like a pill. (You can customize this icon, but we’ll get to that in a bit.)

与其他Mac应用程序一样,下载,安装和启动Ampetamine。 完成后,您会在菜单栏中看到一个新图标,看起来像药丸。 (您可以自定义此图标,但稍后我们将进行介绍。)

amphetemine-menu-bar-icon

Click this icon and you can quickly toggle your Mac to stay awake “Indefinitely.” Alternatively, you can keep your Mac awake for a set number of minutes…

单击此图标,您可以快速切换Mac以“无限期”保持唤醒状态。 另外,您可以将Mac保持固定的分钟数…

amphetamine-minutes

…or a particular number of hours.

…或特定小时数。

amphetamine-hours

If this isn’t enough for you, you could also keep your Mac awake while a certain program is running. Why would you want this? Perhaps you’ve set up your download manager to close once a download is completed, and you want to ensure your Mac keeps running until that is done. If you can’t imagine yourself using that feature, just stick to the timed options.

如果这还不够,您还可以在运行某些程序时使Mac保持唤醒状态。 你为什么要这个? 也许您已将下载管理器设置为在下载完成后关闭,并且您想确保Mac一直运行直到完成。 如果您无法想象自己正在使用该功能,请坚持使用定时选项。

amphetemine-while-app-runs

一组强大的配置选项 (A Powerful Set of Configuration Options)

If you’re the sort of user who likes to configure everything so it’s just right, you’re going to love the settings panel offered by Amphetamine. Click the menu bar icon and head to “Preferences” to tweak to your heart’s content.

如果您是喜欢配置所有功能的用户,那么您会喜欢安非他命提供的设置面板。 单击菜单栏图标,然后转到“首选项”以调整您的心脏内容。

amphetemine-options

For example, if you just want your Mac to stay awake when you click the icon, you can set that up by toggling the “Status Bar Icon Click Actions” dropdown. You can also decide whether your screen stays awake, or whether it goes to sleep, while your Mac is kept awake.

例如,如果您只想让Mac在单击图标时保持清醒状态,则可以通过切换“状态栏图标单击操作”下拉菜单来进行设置。 您还可以决定在Mac保持清醒的状态下,屏幕是保持清醒状态还是进入睡眠状态。

In the Battery panel, you can tell Amphetamine to stop keeping your Mac awake once your battery sinks to a set level.

在“电池”面板中,您可以告诉安非他明在电池沉到设定水平后停止保持Mac处于唤醒状态。

amphetemine-battery

Unless you want your Mac to stay awake until the battery dies, this is a good idea.

除非您希望Mac保持清醒状态直到电池没电,否则这是个好主意。

There are a few more interesting panels here, which give you even more power:

这里还有一些有趣的面板,它们为您提供了更多功能:

  • The Drive Alive panel allows you to force particular hard drives to stay awake, instead of powering down, while your computer is kept awake.

    “驱动器活动”面板使您可以在计算机保持唤醒状态的同时,使特定的硬盘驱动器保持唤醒状态,而不是关闭电源。
  • The Hotkeys panel lets you set up universal keyboard shortcuts for starting and ending sessions.

    使用“热键”面板,可以为开始和结束会话设置通用键盘快捷键。
  • The Notifications panel lets you decide whether Amphetamine will notify you of sessions beginning and ending, and what sounds the program makes.

    通过“通知”面板,您可以决定安非他明是否会通知您会话的开始和结束以及程序发出的声音。
  • The Appearance panel lets you change the icon from a pill to a coffee carafe (my preferred icon), a teapot, or even an owl.

    通过“外观”面板,您可以将图标从药丸更改为咖啡水瓶(我的首选图标),茶壶甚至是猫头鹰。

There’s really no part of Amphetamine that the user can’t control, which makes it a power user’s dream. But users who’d prefer to ignore these settings never need to look at them: the menu bar icon is enough for the vast majority of users.

苯丙胺实际上没有用户无法控制的部分,这使它成为了高级用户的梦想。 但是不想忽略这些设置的用户则无需查看它们:菜单栏图标足以满足绝大多数用户的需要。

设置自动咖啡因的高级触发器 (Set Up Advanced Triggers for Automatic Caffeination)

There’s one panel I’ve yet to mention: Triggers. This lets you set up rules about when your Mac should stay awake.

我还没有提到一个面板:触发器。 这使您可以设置有关Mac应该何时保持清醒状态的规则。

create-trigger-mac

To get started, head to the Triggers section, then click the “+” button to create a new trigger.

首先,进入“触发器”部分,然后单击“ +”按钮创建一个新触发器。

amphetemine-triggers

Now you can set up a series of conditions that will automatically keep your Mac awake. For example, if you don’t want your Mac to go to sleep on weekdays when you’re at home, you could set your Wi-Fi network and a particular time range. Alternatively, you could set up Amphetamine to keep your Mac awake anytime your download manager is open. You’ve got a lot of power here, so dig in. Just note that Amphetamine must be running for the triggers to activate.

现在,您可以设置一系列条件,这些条件将使Mac自动保持唤醒状态。 例如,如果您不希望Mac在工作日在家的工作日入睡,则可以设置Wi-Fi网络和特定的时间范围。 另外,您可以设置安非他明以使Mac在下载管理器打开时始终保持唤醒状态。 您在这里拥有很多功能,因此请深入研究。请注意,苯丙胺必须正在运行才能激活触发器。

翻译自: https://www.howtogeek.com/227561/how-to-prevent-your-mac-from-sleeping-without-changing-any-settings/

mac 防止 下载 睡眠

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值