Score:2

Prevent Alt from triggering global menu

cn flag

I'm using Ubuntu 20.04.2 LTS. Two times out of three when I'm trying to switch a language using Alt+Shift the window's global menu opens instead.

I don't ever use the Alt key to access the window's global menu, and I need to have the language switched consistently, and without Ubuntu losing the focus of the field I'm typing in. As such, completely disabling the functionality of opening the window global menu with Alt seems like a good solution.

I have read this thread and none of the solutions provided there have worked. Specifically:

  • CompizConfig Settings Manager doesn't list anything resembling Ubuntu Unity Plugin, or "Key to show the menu bar while pressed", or anything similar either in Desktop or anywhere else.
  • There's no way to disable the Key to show the HUD as, apparently, GNOME v3 doesn't have HUD at all (as evidenced in this thread).
  • The Keyboard Shortcuts menu also doesn't seem to contain any shortcuts for just the Alt key. There was a shortcut Alt+Space for action "Activate the window menu", I have disabled it. Still, simply pressing the Alt key opens the window global menu (for example, in a browser).

Perhaps, somebody has any up-to-date suggestions for preventing the Alt key from opening the global menu and shifting focus from the field I'm currently typing in?

P.S. I know that I can use Win+Space, but it is very inconvenient for me.

UPD: I'm talking about the window main menu, like this. Each app has a different one, some apps don't explode the list but just focusing the window main menu like Skype. It doesn't matter, the problem is that clicking Alt focuses on this main menu in the first place, even when used in a shortcut. I want to disable this behavior.

vanadium avatar
cn flag
What is "windows global menu"? Please describe more specifically what you mean by this.
comm1ted avatar
nl flag
Any fixes? Have the same problem
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.