geekhack

geekhack Community => Keyboards => Topic started by: cchan on Sat, 15 May 2010, 13:31:20

Title: keyboard test software for Linux
Post by: cchan on Sat, 15 May 2010, 13:31:20
I have seen Aqua's Key Test http://geekhack.org/showthread.php?t=6643 and PassMark Keyboard Test http://www.passmark.com/products/keytest.htm but they're both for Windows. My Ubuntu netbook isn't muscley enough to run a Windows VM, but I'd like to connect keyboards to it to test them. I know xev prints keyboard events, but I'd really like to have a graphical keyboard on screen instead of having to grep xev output. If anyone knows of such a program Id really like to hear about it. Thanks.
Title: keyboard test software for Linux
Post by: (X "_____") on Sat, 15 May 2010, 13:36:50
Not sure if it's exactly what you're looking for, but give xkeycaps a try if you haven't already.
Title: keyboard test software for Linux
Post by: vhaarr on Sat, 15 May 2010, 18:31:38
There's also gok, the Gnome On-screen Keyboard.
And I do believe that gnome-keyboard-properties shows a layout as well.

But indeed, kind of hard to understand what you're actually after.
Title: keyboard test software for Linux
Post by: cchan on Sat, 15 May 2010, 19:18:29
xkeycaps is a cool program, but I'm looking for something where the keys stay highlighted until the program exits, so I can press every key, and which ever keys aren't highlighted, the key isn't responding. I hope this clears things up.

Oh, and I can't just wine Aqua's Key Test, because my poor little 4GB SSD doesn't have enough space to install Wine.
Title: keyboard test software for Linux
Post by: HaaTa on Sat, 15 May 2010, 20:55:54
I don't know of any graphical utilities in Linux for this (I'd just write one, but I don't really have a need).

There is an alternative that should already be installed on your system.
I wrote some info in my Backspace Mod for the Model F.

Code: [Select]

sudo showkey -a


For best results you shouldn't run this under X. Though it still should work under X.
This will display the ASCII character along with the scan code and such.

I usually just use the -s though, as I only want to see the scan code.


I just did a browse of the Arch Linux repos and AUR and didn't really find anything close to what you want.
Title: keyboard test software for Linux
Post by: vhaarr on Sun, 16 May 2010, 02:45:46
Quote from: cchan;182795
xkeycaps is a cool program, but I'm looking for something where the keys stay highlighted until the program exits, so I can press every key, and which ever keys aren't highlighted, the key isn't responding. I hope this clears things up.


That's a really specific need, and it seems to me that modifying xkeycaps to do what you want would not take long.

Time for you to learn programming!

Quote from: cchan;182795
Oh, and I can't just wine Aqua's Key Test, because my poor little 4GB SSD doesn't have enough space to install Wine.


Wine is like what, 20mb? You're saying you can't get 20mb free and that you have no second disk to put it on instead?

I don't believe you.