Print the current keymap table formatted into expressions:Įach keycode is followed by the keysym it is mapped to. Optionally, install xkeycaps, which is a graphical front-end to xmodmap. Xmodmap can be installed through the xorg-xmodmap package.
The keysyms are managed by Xorg in a table of keycodes defining the keycode- keysym relations, which is called the keymap table. For example, pressing a generates the keycode 38, which is mapped to the keysym 0×61, which matches a in the ASCII table. keysym The keysym is the value assigned to the keycode. Keycode The keycode is the numeric representation received by the kernel when a key or a mouse button is pressed. There are two types of keyboard values in Xorg: keycodes and keysyms. If a keyboard is added to a system after a custom table has been applied, the custom table will have to be applied again. Due to a limitation of Xorg, xmodmap settings are not applied to hotplugged devices automatically.xmodmap settings are reset by setxkbmap, which not only alters the alphanumeric keys to the values given in the map, but also resets all other keys to the startup default (see LQWiki:Configuring keyboards).