Ubuntu – Ubuntu 16.04.01 LTS: How to show scancodes

16.04keyboardkeyboard-layoutkeycodes

I want to show my scancodes, because Ubuntu doesn't map my keyboard correctly. (Multiple keys (Alt, Alt Gr and Strg) have the same keycode and act like Caps Lock).

Windows 10 maps my keyboard correctly…

showkey --scancodes

and

sudo evtest

doesn't work on my system.

xev

shows only the keycodes.

How do I display the scancodes of the keys?

Best Answer

showkey --scancodes works if you run it from a console window, which you can open via Ctrl+Alt+F1. (Use Ctrl+Alt+F7 to close it afterwards.)

Related Question