On 2012-03-23 03:35, Jeremy Lavergne wrote: >> The energy saver system preferences are for setting how long your computer >> waits to go to sleep when it is idle; building something with MacPorts is >> not being idle. I imagine the power manager probably largely just looks at >> whether there is mouse movement or keyboard input to determine whether the >> system is idle. Note that video players like VLC and Apple's DVD Player >> probably also manipulate the power manager so the system doesn't go to >> sleep in the middle of a video. > > Do we really want to be responsible for energy saver settings, which will > require sudo for people not using a root-installed MacPorts?
There has to be a way to control this from user space API, as the video players given as example above allow to stop the display going blank and prevent system sleep. However, I assume this would require interfacing with Cocoa API? Rainer _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
