X11::IdleTime - Get the idle time of X11
use X11::IdleTime; $idle = GetIdleTime(); print "Your mouse and keyboard have been idle for $idle seconds.\n";
The X11::IdleTime module is useful for checking how long the user has been idle.
Adam Wendt <thelsdj@gmail.com> (http://blog.thelsdj.org/)
Copyright 2003-2008 Adam Wendt <thelsdj@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install X11::IdleTime, copy and paste the appropriate command in to your terminal.
cpanm
cpanm X11::IdleTime
CPAN shell
perl -MCPAN -e shell install X11::IdleTime
For more information on module installation, please visit the detailed CPAN module installation guide.