
mac 防止 下載 睡眠

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。 完成后,您會在菜單欄中看到一個新圖標,看起來像藥丸。 (您可以自定義此圖標,但稍后我們將進行介紹。)

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保持固定的分鐘數…

…or a particular number of 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一直運行直到完成。 如果您無法想象自己正在使用該功能,請堅持使用定時選項。

一組強大的配置選項 (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.
如果您是喜歡配置所有功能的用戶,那么您會喜歡安非他命提供的設置面板。 單擊菜單欄圖標,然后轉到“首選項”以調整您的心臟內容。

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處于喚醒狀態。

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應該何時保持清醒狀態的規則。

To get started, head to the Triggers section, then click the “+” button to create a new trigger.
首先,進入“觸發器”部分,然后單擊“ +”按鈕創建一個新觸發器。

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 防止 下載 睡眠