Troubleshooting Keyboard Maps
To view the X events sent by the X server in response to keys, type a key and view the resulting X events.
To identify a physical key and location, or to test a key or a key sequence, type a key and view the resulting keystroke events.
The compiled keymap is equivalent to the output of an "xmodmap" command. The table shows each keycode in the keymap, the associated key, and the X Keysyms corresponding to the unshifted, shifted, unshifted AltGr, and shifted AltGr positions.
More information