Here's a small python script that gets the screensaver status. I am not sure how to run it as root & make it talk to a user's dbus session...
Here's a small python script that gets the screensaver status. I am not sure how to run it as root & make it talk to a user's dbus session...