[PyKDE] idle time detection

Andreas Pakulat apaku at gmx.de
Thu Nov 9 20:15:59 GMT 2006


On 09.11.06 20:48:40, Andreas Pakulat wrote:
> On 09.11.06 19:51:11, Sebastian Kügler wrote:
> > Can anyone think of some clean way for a PyKDE application to detect idle 
> > time?	
> > 
> > For the Kubuntu powermanager applet, we're currently missing that feature. The 
> > usecase would be kicking in a suspend / hibernate / dimming display after N 
> > seconds of no mouse or keyboard activity.
> 
> You have to hook into X11 then, I think.

I meant to say for capturing mouse/keyboard activity. Maybe have a look
at the kde screensaver code, it may give you an idea...

Andreas

-- 
Your boss climbed the corporate ladder, wrong by wrong.




More information about the PyQt mailing list