last mouse movment or keyboard hit

Ron Eggler ron at example.com
Fri Mar 28 22:16:04 EDT 2008


Diez B. Roggisch wrote:

> Ron Eggler schrieb:
>> Hi,
>> 
>> I would like to get the time of the most recent human activity like a
>> cursor movement or a key hit.
>> Does anyone know how I can get this back to start some action after there
>> has been no activity for X minutes/seconds?
> 
> Try hooking yourself into the OS screen-saver-code.

I have looked at the KDE code but couldn't quite figure out how it's
working... :o Any help would be appreciated!
-- 
chEErs roN



More information about the Python-list mailing list