1

I'd like to run a cron job to test whether there is an active window session (GNOME or KDE) running on my host. By "active" I mean that in addition to just running, the user is "doing stuff".

In other words, I'd like access to whatever timer a screensaver daemon would use to trigger itself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.