tamo00 / macosx-nosleep-extension

Automatically exported from code.google.com/p/macosx-nosleep-extension
0 stars 0 forks source link

Set state at the time of bootup / command line #130

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Can you please summarize the command line usage to change the on/off state.  I 
would like NoSleep to be on automatically during the login process.  I have no 
way of controlling the state other than by clicking on the icon.  I installed 
the command line option but do not see documentation on how to use.

Original issue reported on code.google.com by gregory....@gmail.com on 13 Jun 2014 at 1:46

GoogleCodeExporter commented 8 years ago
I figured this out myself by looking at the code.  To help others here is a 
summary.
1) Intall the Command Line feature at install time
2) From the terminal you can turn NoSleep on or off as follows:

NoSleepCtrl -a -b -s 1,1 

NoSleepCtrl -a -b -s 0,0

Original comment by gregory....@gmail.com on 13 Jun 2014 at 2:15