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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -