In Windows there is a program called Keyboard Jedi that shows what keys are pressed on the keyboard.
Is there an equivalent for Linux?
Answer
Others have mentioned xev
, which is good when you're running X11. When you're at the console, however, showkey
is what you want.
And if you’re at an SSH session or a real terminal, you can use /usr/lib/ncurses/examples/demo_altkeys
(available in Debian in the ncurses-examples package).
Note that xev for "a" gives 38, while showkey for "a" gives 30, because xev reports scancodes, whereas showkey by default reports keycodes.
No comments:
Post a Comment