Xkey keycounter
A quick way to see which programs receive the most keypresses


If you've always wanted to know exactly how many keypresses you're wasting on IRC/ICQ/MUDs, this is the right tool for you!
This is a quick hack of the xkey 'keyboard snooper', it counts all keypresses under xwindows on a per-program basis, by monitoring the window title of the window receiving the events.
For better results, you should use a webbrowser that doesn't change its title window, and perhaps use zsh to set the window title when you execute something, like this:
PROMPT="%m %B%~%b/"
case $TERM in
    xterm*)
      preexec () {
        print -Pn "\e]0;$1\a"
      }
      precmd () {    print -Pn "\e]0;zsh\a" } ;;
esac
download here


back to my homepage