x idle monitor 1.14
x idle monitor is a program which uses the idle time from X windows, and when it exceeds a threadshold, the time is logged.
As I'm sure many other geeks do, I often find myself measuring my time by when I've taken breaks from the computer. So, in order to know exactly when I've left the computer, I wrote this simple idle time monitor. It uses the idle time from X windows, and when it exceeds a programable threshold, the time is logged. When the idle time goes back to 0, the time is logged again.
This program just uses the Xss (X Screen Saver) extension of the X server to poll for how long the user has been idle. When the idle time reaches a configurable threshold, the last non-idle time is logged. When the user becomes non-idle again, that time is logged as well.
--logfile (-l) Specifies the log file to append to
--idle-threshold (-t) Specifies the idle threshold in seconds
--background (-b) Runs in daemon mode in the background
--pidfile (-p) Lock file to use in daemon mode
--display (-d) Specifies the X server to connect to
--help (-h) Prints this help menu
--version (-v) Prints the version string