xprintidle is a utility that queries the X server for the user's idle time and prints it to stdout (in milliseconds).
Basically, type ./configure && make && sudo make install
to compile
and install the program. See the INSTALL.md file for more detailed
instructions. You may have to run ./bootstrap
beforehand.
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.
Web page: http://www.dtek.chalmers.se/~henoch/text/xprintidle.html E-mail: Magnus Henoch henoch@dtek.chalmers.se Jabber/XMPP: legoscia@jabber.cd.chalmers.se