Revisions for "Keystroke counter daemon"

Keystroke counter daemon

I'd like to keep track of when I'm at my keyboard and when I'm not. The bounty is for a daemon that records keystrokes (whether they're happening or not), and logs them to a file.

I'd like the format to be the following, output to some reasonable log location:

keyboard <timestamp> <number of keystrokes>
keyboard <timestamp #2> <number of keystrokes>

With some form of adjustable granuality on daemon startup (1 minute intervals seems like a good default)

Adapting an existing keylogger and adding timestamps is one approach I think might work well. No need to worry about any kind of security, this is for personal use only.

If you write an Arch Linux package to install the software I'll tip extra. Other neat extras would include monitoring mouse movement or certain running programs (movie players come to mind).

Keystroke counter daemon
I'd like to keep track of when I'm at my keyboard and when I'm not. The bounty is for a daemon that records keystrokes (whether they're happening or not), and logs them to a file. I'd like the format to be the following, output to some reasonable log location: keyboard keyboard With some form of adjustable granuality on daemon startup (1 minute intervals seems like a good default) Adapting an existing keylogger and adding timestamps is one approach I think might work well. No need to worry about any kind of security, this is for personal use only. If you write an Arch Linux package to install the software I'll tip extra. Other neat extras would include monitoring mouse movement or certain running programs (movie players come to mind).). Edit: One good bet for a keystroke logger is evdev
Back to question