3

I want to disable "menu" key that emulates right click. It is unfortunately placed on my keyboard and I keep hitting it by mistake instead of AltGr.

This is the key I am talking about.

The key

Is it possible to just permanently disable it? Either make it working as AltGr, or just disable it outright.

2 Answers 2

2

the keycode for my menu button is 135. Try for yourself so you disable the correct key.

To test what keycode it is type xev in terminal. Then hit the key and nothing else and look for the keycode in the text in the terminal.

Now execute this command in a new terminal window.

xmodmap -e 'keycode 135 = NoSymbol'

This disables the key and solves your problem. :)

resource

4
  • 1
    Well, that was simple! Thanks! Will accept answer as soon as it's possible. Feb 15, 2014 at 21:58
  • What about now?
    – Wilf
    Feb 15, 2014 at 21:59
  • Interesting. The first idea worked actually in my case, so you could add it back. Or, as a separate answer. Feb 16, 2014 at 0:40
  • Just in case if you were wondering how to go the other way around, i.e. map right click action to menu key: change NoSymbol to Menu ;)
    – smihael
    May 3, 2018 at 22:03
1

Go to system settings --> keyboard --> Shortcuts and locate the menu key in the list. Click on it and hit backspace to disable it.

Note, this answer didn't workfor me that's why I wrote the other one. But this answer works for @KarelBílek, then it will work for others.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .