Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-23-2009, 10:47 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 13

Rep: Reputation: 1
Help me log keystrokes on my USB keyboard?

While using Windows, I have been recording and archiving my keyboard activity for the past six years. This is extremely important to avoid losing unsaved typed text or for recalling historical information (when exactly I wrote something) as I'm lousy at record-keeping. For this, I used a primitive but robust tool named HomeKeyLogger, which unfortunately is limited to Windows.

Now that I'm in the process of switching to Ubuntu, I have searched around for a program that will log my keystrokes in Linux as well. Trying and discarding LKL (didn't log at all, even after finding the keymaps), I experimented with Uberkey. This one is actually neat, but it only captures my internal laptop keyboard, and not the USB keyboard. I hardly ever use the internal keyboard, so that is not useful.


I see that Uberkey hard-codes some (interrupt?) addresses like 0x64 and 0x60. Now I'm wondering if I can simply change these addresses to the USB keyboard - I've never coded on such a low level before, so I don't know how the hardware interfaces work. Do I have any hope there, or should I use something else? And if so, what software will allow me to log my USB keyboard? Perhaps I can even run the Windows HKL on Wine, but I suspect it can only access the hardware when running natively.

Thank you so much!
Old 03-04-2009, 04:11 PM   #2
LQ Newbie
Registered: Feb 2009
Posts: 13

Original Poster
Rep: Reputation: 1
Any update?

I'd really appreciate some help with this. If someone here can just tell me how to find the device paths of my keyboards, I could write my own script using interceptty, but I'm completely stuck. I've had to switch back to Windows for the time being, which is quite a pity.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Capturing Keystrokes in linux. APIs or System calls to capture keyboard strokes abhinav.zoso Programming 3 01-10-2009 11:14 AM
ps/2 keyboard -> usb connector generating spurious keystrokes on suse 9.3 Thespian Linux - Hardware 6 03-13-2006 04:41 PM
some keystrokes of Logitech LX700 Multimedia keyboard not detected vinayreddy Linux - Hardware 0 12-05-2005 09:30 AM
usb intellimouse issuing keystrokes!!! sketelsen Linux - Hardware 2 09-03-2004 02:06 PM
Keyboard lags for 2-4 keystrokes?! gundelgauk Linux - Hardware 1 05-04-2004 11:53 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration