0

Menu key is not recognized.

xev -event keyboard
keycode 135 (keysym 0x0, NoSymbol)

I have Debian on pc and laptop. Debian on pc does not recognize Menu key. But when I connect this keyboard to laptop it recognizes key.

This limits options for customization. What can cause the problem? Perhaps I made different choice during install?

1
  • I've encountered this effect at the console. There, Menu it produces code 127, which isn't mapped. For me, X11 does map the menu key: keycode 135 (keysym 0xff67, Menu) Commented Aug 22 at 21:52

1 Answer 1

1

I solved the problem. For some reason Menu key was marked as Comp in evdev file. I found line with keycode 135, replaced COMP with MENU and commented alias. Now Menu key works as Super_R. Without any remapping.

state 0x40, keycode 135 (keysym 0xffec, Super_R), same_screen YES,

 $vim /usr/share/X11/xkb/keycodes/evdev
<MENU> = 135;
// alias <MENU> = <COMP>;

I previously reconfigured my keyboard. This is alchemy, but I'll put it here just in case.

dpkg-reconfigure console-data
dpkg-reconfigure keyboard-configuration

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.