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

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/280477.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/280477.shtml
英文地址,請注明出處:http://en.pswp.cn/news/280477.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

ubuntu安裝chrome driver

首先下載Chrome Driver(Firefox Driver的安裝與該步驟相同) 鏈接: http://chromedriver.storage.googleapis.com/index.html 接下來在控制臺(terminal)上操作一下紅色字體的指令: Install Unzipsudo apt-ge…

深入理解Spring異常處理

宜信技術學院1.前言相信我們每個人在SpringMVC開發中,都遇到這樣的問題:當我們的代碼正常運行時,返回的數據是我們預期格式,比如json或xml形式,但是一旦出現了異常(比如:NPE或者數組越界等等&am…

基于React開發范式的思考:寫在Lesx發布之際

例子:lesx-example webpack loader: lesx-loader 一些背景 現在前端框架已經呈現出React、Angular、Vue三足鼎立的局勢,對于三者的對比以及技術選型的思考與爭論也被討論了非常多,比如知乎上的這個問題:react.js,angular.js,vue.j…

mac共享單個磁盤_如何與您的所有設備共享酒店的單個Wi-Fi連接

mac共享單個磁盤Many hotels still limit you to one or two Wi-Fi devices per room–a frustrating limitation, especially when traveling with someone else. Connection restrictions can apply anywhere you have to log into a Wi-Fi network via a portal instead of …

Python FastApi:快速建立docker容器/掛載共享文件夾/導入導出

一、目的 a.快速把原有fastapi代碼部署到docker,讓docker在server運行。 b.不涉及docker深入設置。 c.使用python第三方lib少或簡單。 二、步驟 ps:請提前安裝docker 1.新建Dockerfile,放入到項目根目錄 a.Dockerfile沒有后綴. b.準備好requireme…

PHP-FPM 與 Nginx 的通信機制總結

PHP-FPM 介紹 CGI 協議與 FastCGI 協議 每種動態語言( PHP,Python 等)的代碼文件需要通過對應的解析器才能被服務器識別,而 CGI 協議就是用來使解釋器與服務器可以互相通信。PHP 文件在服務器上的解析需要用到 PHP 解釋器,再加上對…

Android——監聽事件總結

各種監聽事件 1.按鈕 Button(1)點擊監聽btn_1.setOnClickListener(new View.OnClickListener() { (2)長按監聽btn_1.setOnLongClickListener(new View.OnLongClickListener() { 2.單選框 RadioGroupradio_gp.setOnCheckedChangeLi…

ChatGPT 大智近妖,從宇宙人生到手搓光刻機,從哄女朋友到寫年終總結我們聊得非常開心,反而讓人越來越憂心...

都說 ChatGPT 要干掉程序員,清理搜索引擎,取代Stack Overflow,還能消滅人類,這些有些言過其實了。ChatGPT 的定位是一個人工智能助理,它說,它的主要目的是通過回答用戶的問題,為用戶提供幫助。在…

如何在Windows Defender中安排掃描

Windows Defender automatically performs background scans during your PC’s idle moments, but doesn’t include an easy way to schedule a full scan. There is a way to do it, though. Windows Defender在PC空閑時自動執行后臺掃描,但是沒有包括安排完整掃…

復習深入筆記02:魔法方法/cookie,session,token/異常

魔法方法 對象生成 1.先調用__new__方法,生成空對象。控制對象生成。 2.當執行“對象類名(namelqz)”,觸發類的__init__()

比特熊故事匯獨家 | .NET 感恩專場

點擊上方藍字關注我們(本文閱讀時間:15分鐘)大家好!我是愛吃、愛玩、更愛學習技術,IT界新晉小紅人,開發者的好朋友——比特熊!比特熊:本期故事匯是.NET專場,今天一次性邀請到DOTNET領…

Ubuntu Core 給物聯網提供更多安全支持

開發四年只會寫業務代碼,分布式高并發都不會還做程序員? Canonical 是 Ubuntu 的一個桌面環境,該公司目前在云服務業務賺到了錢。因為 Ubuntu Core 為嵌入式設備帶來了 Ubuntu 18.04 長期支持(LTS)代碼庫。Ubuntu Core 的鏡像大小為 260MB&…

semantic ui要裝什么才能使用

作者:呆呆笨笨鏈接:https://www.zhihu.com/question/32233356/answer/196799506來源:知乎著作權歸作者所有。商業轉載請聯系作者獲得授權,非商業轉載請注明出處。本答案將以兩種方式講解如何從零開始使用 Semantic-UI,…

用戶帳戶控制設置_創建快捷方式以避免用戶帳戶控制彈出式快捷方式

用戶帳戶控制設置There are numerous applications which, when launched, result in a UAC (User Account Control) warning being displayed. There are reasons why this security measure is a good idea, but it can also be extremely irritating. ElevatedShortcut lets…

Java Observer Pattern(觀察者模式)

當對象間存在一對多關系時,則使用觀察者模式(Observer Pattern)。比如,當一個對象被修改時,則會自動通知它的依賴對象。觀察者模式屬于行為型模式。 關鍵代碼:在抽象類里有一個 ArrayList 存放觀察者們。 優…

rest_framework01:前后端分離\規范\簡單例子(查詢某本書)

web 開發模式 RESTful規范 1 數據的安全保障 url鏈接一般都采用https協議進行傳輸 注:采用https協議,可以提高數據交互過程中的安全性 2 接口特征表現 用api關鍵字標識接口url: https://api.baidu.comhttps://www.baidu.com/api注&#xff…

.NET Core如何通過SSL訪問MongoDB?

【.NET Core】| 總結/Edison Zhou大家好,我是Edison。最近有一個ASP.NET Core通過SSL證書訪問MongoDB的需求,但是在網上發現資料很少,于是調查了一番,做了如下的筆記,希望對你有用。背景在實際場景中,開發環…

SQA

一、長大一條龍SQA計劃 SQA計劃需要包含軟件工程質量保證、質量控制、數據收集和統計報告這四方面內容,計劃以時間為線索,小組內成員為對象,以下為我組的工作計劃: 時間 任務 需完成的情況 2017年10月 用戶登錄注冊后臺實現 …

在pom.xml中配置nexus上傳地址

2019獨角獸企業重金招聘Python工程師標準>>> <distributionManagement> <repository> <id>thirdparty</id> <url>http://&#xff5b;nexusIP地址&#xff5d;:8081/nexus/content/repositories/thi…