At work I got a new 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 simply disable specific keys that I simply don't want?

link|improve this question

75% accept rate
feedback

1 Answer

up vote 2 down vote accepted

I have the Menu key very close to the control and left-arrow keys.
This is how I disabled it,

xmodmap -e "keycode 135 = 0x0000"

Some references to get around with things.

  1. 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
  2. ArchWiki has a good description for xmodmap
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.