disabling screensaver during monitor poweroff
Hello all. What I'm looking to do seems pretty simple, but I haven't fully accomplished my goal. I like to run the electric sheep screensaver (which is pretty sweet by the way) during brief periods of inactivity, after a while I like the monitor to completely shut off, like at night. However electric sheep doesn't need to run all night long and slowly inch my cpu towards an early demise. I binded (bound?)
Code:
xset dpms force off I've gotten as far as Code:
killall gnome-screensaver && xset dpms force off anybody got any suggestions? I'm sure there is some way I can use scripting to acomplish this, maybe to capture a mouse movement event to automatically restart gnome-screensaver? Any insight would be great thanks all |
?
anybody.....?
|
Maybe you can do this via the DBUS interface? I'm a KDE user and KDE apps use DCOP for (I think) the same sort of thing. In the case of DCOP, it is possible to control KDE apps using the command-line dcop program. I am not certain, but I imagine there is a similar thing for gnome programs that support DBUS.
A short search found this document, which documents the DBUS interface for gnome-screensaver. I didn't try to read it. Good luck :) |
All times are GMT -5. The time now is 05:39 PM. |