[Linux-users] X keyboard checker

Bill Campbell linux-sxs
Mon Aug 20 08:53:47 PDT 2007


On Mon, Aug 20, 2007, Roger Oberholtzer wrote:
>I seem to recall a program that came with X11 that prints info about key
>presses. All I can find is xev, which is a bit too much. The program I
>recall was a bit less wordy and was limited to the keyboard. I need to
>diagnose a possible keyboard problem on a system in the woods of
>Lithuania.  Anyone recall the name of this utility?

If all one needs is to find the codes generated by keys, the vi
editor with liberal applications of ctrl-v<key> is often enough.

It's not difficult to cob together something with python's curses
interface to loop and display key press information using the
curses.keyname method.

Bill
--
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Breathe fire, slay dragons, and take chances. Failure is temporary, regret
is eternal.



More information about the Linux-users mailing list