[Newbie]Idle time of user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andi,

Take a look at the source code for xscreensaver.
It looks for keyboard/mouse events at the /proc/interrupts pseudo-file.

--Joel

> Hi everybody,
> 
> I would like to code a little Screen-Saver
> program. How can I get the Idle time of the
> user to start my screen-saver ? Is there any
> other way to start an action (for example printf("TEST"))
> after a specified idle time ?
> 
> Thanks
> 
> Andi
> 
> -- 
> -----------------------------------------------------------------------
> LISCON GmbH                                    http://www.liscon.com/
> Kersche Andreas                                andi@liscon.com
>  
> Richard-Wagner-Strasse 7                       Tel: +43 699/11093881
> A-9500 Villach                                 Fax: +43 4242 214 855 99
> AUSTRIA / EUROPE
> 
> _______________________________________________
> 
> Newbie@XFree86.Org
> *** To unsubscribe , or change message options, see:
> http://XFree86.Org/mailman/listinfo/newbie
> 



[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux