You are not logged in.

#1 2008-12-31 06:25:31

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Keystroke Counter

Yes, it's 5.30pm on New Years Eve and I'm worried about counting keystrokes roll

Does anyone know if there's a keystroke counter (not logger) for Linux / Gnome?

Offline

#2 2008-12-31 20:18:07

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Keystroke Counter

Why the heck would you want anything like this?


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2009-01-01 00:16:10

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: Keystroke Counter

To scare myself tongue

Offline

#4 2009-01-01 00:39:58

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Keystroke Counter

That would be pretty fun..

Offline

#5 2009-01-01 01:18:13

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Keystroke Counter

I think I got it:

part 1 : logging

sudo cat /dev/input/event1 > ~/keyboard1.txt

look through ls -R /dev/input to see if keyboard is somewhere else, and make sure not to put the log in dev

part2 : getting keycount

echo $(( $(cat ~/keyboard1.txt | wc -c) / 96))

You should probably change the logger to only log relevant data, but this seems to work.

Offline

#6 2009-01-01 06:26:13

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: Keystroke Counter

Nice Procyon... I'll try and hack that in to something )

Offline

Board footer

Powered by FluxBB