![]() No fiddling required.Įcho "Enter password to update sleep settings: "Įcho "# This is a helper script. Simply copy-and-paste all the following code into the file. Now, right click DontSleep.myscript and choose Open With > Other > TextEdit.app so we can edit the file. (This step is important because it will later let you click-to-run your script.) This will ask you what application to open the file with: Choose Utilities > Terminal.app. Go to Desktop > PauseSleep and double click on DontSleep.myscript. Open Terminal.app and run these 5 commands to create the script files and set their permissions:Įcho "" > ~/Desktop/PauseSleep/DontSleep.myscriptĬhmod 755 ~/Desktop/PauseSleep/DontSleep.myscriptĮcho "" > ~/Desktop/PauseSleep/Sleep.myscriptĬhmod 755 ~/Desktop/PauseSleep/Sleep.myscript.It just does exactly what it needs, nothing more, nothing less. No other menus, no fiddling around, no third party security threats. It takes like 5 minutes to set up (all steps below), and let's you enable an intelligent No Sleep Mode with just a single click. Below you will find a fully-native way to do this on a Mac without any third party apps. ![]() Lucas Fais's answer about Amphetamine is great, but if you don't trust third party apps, or don't want to support something called "Amphetamine". ![]()
0 Comments
Leave a Reply. |