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

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -