I have a laptop with a full keyboard (it has numpad), but the laptop is not that big, and because of that the keys are relatively small, which means I am constantly finding myself pressing keys accidentally on the numpad part.
Is there a way to disable specific keys that I simply don't want?
Best Answer
I have the
Menu
key very close to the Ctrl and left-arrow keys.To get a first impression what keycodes are mapped to which keys, just type:
which gives you a list of all mappings. For example, the line
means that the keycode 57 is mapped to a lowercase "n" if no extra key is pressed, and an uppercase "N" if Shift is held.
Some references to get around with things.
xev
will let you identify the keycode for your key of interest.Look at its man page, This is a good quick reference too,
Mediakeys with .Xmodmap HOWTO