detect the screensaver

Antoine Martin antoine at nagafix.co.uk
Thu Aug 20 11:51:31 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

What is the official way of detecting when the screensaver is activated?

I thought it might be the "_SCREENSAVER_STATUS" property of the root
window so I tried running:
while true; do xprop -root _SCREENSAVER_STATUS; done
And then starting the screensaver with gnome-screensaver-command -l

Nothing showed up. I must be missing something obvious.
Is this documented anywhere?

Cheers
Antoine

PS: apologies if this is not the correct list, I can't think of a better
one.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkqNmzMACgkQGK2zHPGK1rs3XACeJoEJQvRDhUbRwmi2QuvfqClb
JekAnj2vRk6oBuCI6jPkMyrktsMhKWwF
=Akrd
-----END PGP SIGNATURE-----



More information about the xorg mailing list