Andre Majorel wrote:
Can anyone recommend a key logger for Debian ? I don't need replay or any fancy functions, just stats about which keys get pressed the most. Support for X is essential, support for the console is not. Even raw keycodes would do.
I saw that one[1][2] in the last Debian Project News. Haven't tested it, but it looks like your best bet atm, considering all the other hacks available. It's new, so you might have to backport it if you're using Lenny.
1: http://packages.debian.org/sid/logkeys 2: http://code.google.com/p/logkeysIf you only need raw keycodes, just dump /dev/input/eventX, reading it is trivial.
-t