nonnoroger wrote: > OSX Mountain Lion (ML) has an idle sleep policy that requires apps to > set sleep assertions if they want to prevent sleep after the period set > in Energy Saver - see for example > http://arstechnica.com/apple/2012/07/os-x-10-8/18/. This means that > utilities I relied on under Lion - Caffeine and ReallyPreventStandby > plugin for LMS no longer work. > > There is a new command line utility in ML that might give some pointers > to a way forward: > > caffeinate prevent the system from sleeping on behalf of a utility > This allows you to either directly prevent your Mac from falling asleep > for a specific period of time (e.g. an hour): > > caffeinate -u -t 3600 > > or allows a command to run for a prolonged period without the automatic > (and, since 10.8, rather aggressive) sleep function kicking in > > caffeinate -s any-long-running-command -with arguments > > The source of caffeinated seems to be here: > http://opensource.apple.com/source/PowerManagement/PowerManagement-271.25.8/ > > Has anyone else had sleep issues under ML running LMS (I am running > 7.7.2)? > > Does anyone who knows the system better than me have any suggestions for > a way forward? > > Seems like these new assertions could finally give a reliable solution > to LMS sleep issues under OSX if they could be incorporated somehow. I > do not think it will work just for ReallyPreventStandby to call > caffeinate as the command just hangs until interrupted if called as > caffeinate -i. > > All help much appreciated.I'll be happy to look at the source for caffeinate > and see if what it's doing could be incorporated into ReallyPreventStandby. But I don't have Mnt Lion yet and living on the wrong side of the digital divide means that it might be some time before I get it. Need to find someplace in town where I can set up my mac mini and download it.
------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=95980
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
