Checking whether Gnome screensaver currently active

JB jb.1234abcd at gmail.com
Mon Jan 17 20:56:55 UTC 2011


Robert Nichols <rnicholsNOSPAM <at> comcast.net> writes:

> ... 
> Alternative ways of testing whether the console user is actively using the
> system would also be appreciated.  This is my own cron job trying to test
> whether I am currently active, so the IDs match, but the job is obviously
> not part of the current Gnome session.
> 

Can you extract that info from these ?
man w
man who

JB




More information about the users mailing list