1

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?

1 Answer 1

1

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.)

3
  • 1
    On my system (German Ubuntu) comes the message "Konnte keinen Dateideskriptor finden, der auf die Konsole verweist" -> in english "Could not find file descriptor that refers to the console"... So it doesn't works on my system ... Aug 9, 2016 at 15:05
  • @C.D.Miksche: If I try the command from gnome-terminal, I get precisely that error message, but if I open a console window as mentioned above, and log in there, the command works for me. Aug 9, 2016 at 15:11
  • Thank you. The command worked in the console. Unfortunatly the keys have the same scancode and keycode .... Aug 9, 2016 at 18:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .