Skip to content

Actmon is a X11 user activity (idle time) monitor module for Python.

License

Notifications You must be signed in to change notification settings

agravier/actmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a very simple Python 2 module with one function returning the
amount of time in milliseconds since last user activity. It only works
under X11.

Dependencies: libxss, X11 xss development headers (libxss-dev package on Ubuntu)

To install it, run:

python2 setup.py install

To use its only function:

import actmon
actmon.get_idle_time()

actmon.get_idle_time() returns the number of milliseconds since last
user activity (mouse, keyboard) under X11.

Author: Alexandre Gravier
development at: http://github.com/agravier/actmon

About

Actmon is a X11 user activity (idle time) monitor module for Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published