c++ - Is it possible to get notified when the screensaver starts or stops under linux -
i want notified when screensaver (probably xscreensaver) starts or stops. there solution gtk, glib, gio or other library me under linux?
take @ activechanged signal in org.freedesktop.screensaver
d-bus interface. it's supported current gnome , kde @ least (if want support older gnome releases may have keep eye on org.gnome.screensaver
well).
unfortunately spec seems have disappeared -- or ever in email form. take d-feet or see available api (it's not complex).
Comments
Post a Comment