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

Re: [off-topic] How to auto-run xlock?



On Thu, 8 Apr 1999, E.L. Meijer (Eric) wrote:

> > I'd like this exact behaviour but somehow I need xlock to always be
> > running, waiting to jump in after the idle period.
> 
> I thought about this problem before, and now realised you can check
> keyboard and mouse activity looking at /proc/interrupts.  You could then
> start a script like this in your .xsession file (adapt the variables at
> the start to your needs):

This is great! Thanks! I don't even need xlock now. I'll just start/stop
the SETI program directly.

Now, does anybody know if there is an equivalent to the /proc files on
other UNIXs, particularly Solaris, to detect mouse and keyboard activity?

...RickM...


Reply to: