[PyQt] OT: System idle time
Hans-Peter Jansen
hpj at urpla.net
Fri Sep 17 19:39:43 BST 2010
On Friday 17 September 2010, 15:07:23 Umit Oztosun wrote:
> 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.
That's a nice suggestion, and brought up
http://yjl.googlecode.com/hg/Python/pxss.py
which exactly does, what I suggested...
Cheers,
Pete
> 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
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list