On Thursday 09 November 2006 20:48, 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.

Yeah, that's what I read in the KScreensaver code, having zero knowledge of C 
(and C++) makes that kinds hard, though. So I was asking myself if someone 
over here already came up with a solution that I can reuse.
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
You can't go around building a better world for people. Only people can build 
a better world for people. Otherwise it's just a cage. - Terry Pratchett

Attachment: pgpVGwcFkTjW9.pgp
Description: PGP signature

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to