Re: last mouse move or key hit
Ron Eggler schreef:
> Hi,
>
> I would like to get the time of the most recent human activity like a cursor
> movement or a key hit.
> Does anyone know how I can get this back to start some action after there
> has been no activity for X minutes/seconds?
> Thank you!
>
$ man screen
....
blanker
Activate the screen blanker. First the screen is cleared. If no lanker
program is defined, the cursor is turned off, otherwise, the program is
started and it's output is written to the screen. The screen blanker is
killed with the first keypress, the read key is discarded.
This command is normally used together with the "idle" command.
blankerprg [program args]
Defines a blanker program. Disables the blanker program if no arguments
are given.
--
Luuk
|