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

Re: Keyboard Timelogger



No, I keep my xsession up and running, I think maybe hooking the chess 
timer up to my seat, so that my ass starts it running would be the safest 
bet.

h.

On Sun, 29 Nov 2009, Danny Sauer wrote:

> Do you log in and log out generally, or leave an X session open all the time? 
> If you're usually logging and and out, you could do this with a PAM module in 
> the session part of the stack.  The use of pam_env and pam_exec with some 
> simple shell scripting could do something which starts / stops a timer 
> daemon.
>
> Or you could put something in your .bashrc and .bash_logout if you use bash - 
> I'm thinking something like increment a counter file on login, decrement the 
> counter file on logout, and have a cron job running every minute / 5 minutes 
> which increments an n*interval counter file named based on the date if the 
> counter's greater than 0 (indicating a logged-in shell).
>
> Or use utmp / w and increment the "someone was logged in" file if your 
> username appears in the w output.
>
> Or get one of those lawyer / chess timer things on your desk, and hit the 
> apropriate button when you start / stop working on the machine. ;)
>
> --Danny
>
> Herbie wrote:
>> I'm looking for a small prog that will track how much time I spend at the 
>> keyboard (and mouse) each day, and hopefully email me a little report. I'm 
>> looking at keyfrog, as the only prog I've seen so far. Don't know if it's 
>> quite what I need.
>> 
>> h.
>
> -
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.
>

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.