dbus - gnome: how to execute commands upon screensaver activation? -
is there way run specific command every time gnome-screensaver activated?
thanks
found there : http://people.gnome.org/~mccann/gnome-screensaver/docs/gnome-screensaver.html#gs-intro
gnome screensaver has dbus signal named :
activechanged
in
org.gnome.screensaver
then call
getactive()
and if returns true call method
Comments
Post a Comment