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

Re: Determine time of last keystroke and mouse movement



On Wed, May 13, 2009 at 6:24 PM, Orion Poplawski <orion 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.


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