Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs in Ubuntu Terminal: Meta key opens menus

Tags:

I've been learning Emacs in fullscreen -nw mode (terminal) for Ubuntu, and I've run into this annoying problem. Whenever I press LAlt-[chr] where chr is some character, if that key combination happens to be the shortcut for one of the terminal menus at the top of the screen, the menu will open and nothing will happen in Emacs. How can I prevent these key combinations from influencing the menu bar?

like image 485
Miles Avatar asked Feb 10 '13 01:02

Miles


2 Answers

You should be able to disable menu activation by unchecking the correspoding box in the shortcut dialog under Edit.

Right-click on the emulator window to make the menubar visible, if it is not visible.

As I am a debian user I'm not sure if this solution still works in ubuntu at least in version 2.30.2 of gnome-terminal it was possible to change it this way.

Unfortunately the gnome guys seem to to be uninventing the ui so fast, that I'm not sure if it is still possible.

like image 152
mikyra Avatar answered Sep 28 '22 08:09

mikyra


In ubuntu 12.04 for gnome terminal:

Go to Edit -> Keyboard shortcuts... and uncheck Enable menu access keys (such as Alt-F to open the File menu).

like image 29
DavidGamba Avatar answered Sep 28 '22 10:09

DavidGamba