Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 4 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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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