Re: Checking whether Gnome screensaver currently active

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

 



On 01/17/2011 03:09 PM, Mark LaPierre wrote:
> On 01/17/2011 03:56 PM, JB wrote:
>> 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
>>
>>
> Those will tell you if a user is logged onto the system.  He wants to be
> able to find out if a logged on user has keyboard imprints in his forehead.

Actually, I could get an indication of keyboard activity from the "IDLE"
time, but those commands don't show anything about mouse activity (e.g.,
spending hours using the mouse navigating through "Dive Into Python").

About all I've found so far is to see whether there are any child
processes of the gnome-screensaver process.  I was hoping for something
a bit less involved than that.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux