[svlug] For how long have I been idle
Seth David Schoen
schoen at loyalty.org
Sun Jun 3 09:28:13 PDT 2012
norm at dad.org writes:
> If I look at the modification times of /dev/pts/[0-9]*", I can detect keyboard activity, but
> not mouse activity. In fact, mouse activity does not affect the modification time of any
> file anywhere in /dev.
>
> So.... how can I detect the times of mouse activity?
http://www.alex.ballas.org/2010/11/19/print-your-x-idle-time/
This seems to work properly.
--
Seth David Schoen <schoen at loyalty.org> | No haiku patents
http://www.loyalty.org/~schoen/ | means I've no incentive to
FD9A6AA28193A9F03D4BF4ADC11B36DC9C7DD150 | -- Don Marti
More information about the svlug
mailing list