how to detect that no one is using the pc: not mouse, not keyboard after one hour?
Hello,
I would like to detect that with openbox (i avoid xscreensaver) and do manually xset dpms off for the screen. So, anyone would please know that? Thank you in advance! Cheers |
Check out xprintidle.
This is the script I use to activate my screensaver after 5 minutes of inactivity - added as a cron job. Code:
#!/bin/bash |
Quote:
btw Quote:
|
Glad to help a fellow Openbox user. :)
As for the process checking, the fastest way is Code:
pgrep <processname> |
All times are GMT -5. The time now is 12:29 PM. |