6

Suddenly, I am not able to use any combination of meta keys. The Alt key is not working at all in my emacs. Can anyone help me on this issue?

Braiam
  • 69,112
NeoJi
  • 133

3 Answers3

3

I fixed this in my Ubuntu Terminal app by going in the menu: Edit -> Keyboard Shortcuts and deselecting the 'Enable menu access keys (such as Alt+F to open the File menu)'.

penreturns
  • 5,950
Stephen
  • 46
  • 2
0

On Gnome 42.4+ you have a keyboard setting that might be enabled by default for using alternate characters on your keyboard.

Go to:

  • Settings
  • Keyboard
  • Click on the "Alternate Character Key" option
  • In the popup, select another alternate character key other than left alt

I choose "Right Menu" since I don't even have a menu key on my keyboard but you can choose anything else besides "Left Alt" which is the key that is used to some shortcuts in Emacs.

I was having trouble using the Meta key in Emacs because of that parameters and now it is working as intended since I changed the alternate character key.

Amin NAIRI
  • 209
  • 2
  • 3
0

My VNC server had to be restarted with an extra option -compatiblekbd like this example:

vncserver -geometry 2549x1476 :17 -compatiblekbd

Once I added that and restarted my server, the meta key started working as I expect it to.

Note that -compatiblekbd must come after the display number (e.g. :17) or it is interpreted as an argument to -compatiblekbd.

WilliamKF
  • 101