macosx-nosleep-extension icon indicating copy to clipboard operation
macosx-nosleep-extension copied to clipboard

Set state at the time of bootup / command line

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

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 [email protected] on 13 Jun 2014 at 1:46

GoogleCodeExporter avatar Apr 04 '15 20:04 GoogleCodeExporter

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 [email protected] on 13 Jun 2014 at 2:15

GoogleCodeExporter avatar Apr 04 '15 20:04 GoogleCodeExporter