danco;587385 Wrote:
> I wonder if there is a solution in Ubuntu similar to what I use in Mac
> OS X. I use a little program (I suppose one could write one's own
> program) that overrides my Mac's power management by simulating mouse
> movement. And then I use SvrPower Control to run this program while my
> SB is active and to turn it off when idle.
Exactly. There is a project called "caffeine" for gnome:
https://launchpad.net/caffeine
Unfortunately, I don't believe that it's scriptable or will otherwise
respond to any sort of IPC, which on Ubuntu or Fedora would be dbus.
Also, there is the Gnome Power Manager 'Inhibit' applet. But again, it
doesn't seem to be scriptable.
I'm resorting to writing my own little applet that will call the Gnome
Session Manager 'Inhibit' function. But this is turning out the be
less trivial than I hoped. The basic problems at this point are:
- Session Manager drops any 'Inhibitions' as soon as the requesting
app exits.
- SBS, since it's running under the 'squeezebox' user account,
doesn't have a gnome session. Getting SrvrPowerCtrl to execute an
app that can interact with the gnome session manager will be
tricky...if not downright kludgy.
Anyway, that's my approach thus far.
@danco: can you post the latest version of your OSX caffeine scripts?
I'd like to incorporate them into the next version of the
ReallyPreventStandy plugin.
Thanks.
--
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins