Editing with nano, Alt is caught by the window menus, how can I fix that?

The Alt key is used for many useful commands, but unfortunately it's caught by the terminal window to activate the window menus (File, Edit, ...).

I would like to either force the terminal window to pass Alt to the terminal or get nano to use some other key/combination (I'm using GNOME Terminal 2.32.1).

ps: There is a related, but different question here where it's pointed out that Ctrl + Right Arrow cannot be bound to "move forward a word".


Solution 1:

The terminal emulation handles that already. If a key combination with ALT is used by the terminal itself, you can just substitute ALT with ESC. For example, if you want to count characters, words and lines in nano and ALT+D is used by the terminal, just type ESC+D.