Determine time of last keystroke and mouse movement

Colin Walters walters at verbum.org
Thu May 14 13:08:16 UTC 2009


On Wed, May 13, 2009 at 6:24 PM, Orion Poplawski <orion at cora.nwra.com> wrote:

> That assumes running inside the X session though right?  This is a system
> process started at boot.

You can use ConsoleKit to watch for new login sessions, and from it
also retrieve the address (DISPLAY) of the X server.  You'll need the
.Xauthority file from the user's home directory to authenticate.




More information about the fedora-devel-list mailing list