X11::IdleTime has one sub routine, GetIdleTime() which returns the number of seconds that X11 has been idle (no mouse or keyboard activity).
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires these other modules and libraries:
Inline, Inline::C and of course X11.
COPYRIGHT AND LICENCE
Copyright (C) 2003-2007 Adam Wendt
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.