On Mar 25, 2012, at 05:02, Rainer Müller wrote: > On 2012-03-23 03:35, Jeremy Lavergne wrote: >> >> 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?
https://trac.macports.org/ticket/33719 It's just a single shell command we need to run (e.g. when starting any port command); it stays running, and we'd kill it when we want normal sleep scheduling to resume (e.g. when the port command exits). _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
