On Friday 17 September 2010, 12:41:49 Hugo Léveillé wrote: > Hey > > A little OT here but I am sure one of you filks got the answer. Under > linux, what is the python command to get the system idle time. By idle > time, I mean mouse move or keyboard pressed. I got it for windows and > OSX but not Linux
Only a few distributions ship a package called xidle, but for a general solution, you might need to call into the Xlib yourself with ctypes - not that easy but doable. man 3 XScreenSaver Pete _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
