xprintidle is a small program that prints the user's idle time to stdout, using the X screensaver extension.
xprintidle is meant for use in scripts.
xprintidle is a utility that queries the X server for the user's idle time and prints it to stdout (in milliseconds).
If you don't have X installed in /usr/X11R6, you'll need to change X11_BASE in the Makefile.
You need the development files for the Xss library. In Debian, they are in the package 'libxss-dev' or 'xlibs-static-dev', depending on your version.
In a hurry? Add it to your Download Basket!
What's New in This Release:
- This release works around problems with DPMS resetting idle time.
- It is now under the GNU GPL (version 2 only), and uses autoconf and automake.