[PyQt] OT: System idle time

Umit Oztosun umit at oztosun.net
Fri Sep 17 14:07:23 BST 2010


Hello,

You might want to take a peek at PyXSS
(http://bebop.bigasterisk.com/python/docs/PyXSS). It is rather old,
but we are using it successfully for many years. You might need swig
development environment installed on your system to install PyXSS.

Regards,
--
Umit Oztosun

2010/9/17 Hans-Peter Jansen <hpj at urpla.net>
>
> 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    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list