Score:3

How do you disable all Super key shortcuts in Gnome?

om flag

I would like to use the Super key as a modifier for keyboard and mouse shortcuts in other applications. However, Gnome seems to have dozens of keybinds that are tied to that key and that appears to affect its usability as a modifier in some apps (notably, I can't use it as a modifier in IntelliJ). I've removed the ones I could find in Settings, but there are a couple I can't find defined anywhere:

  • Super to open application launcher
  • Super+drag to move windows around

Is there a way to disable these in Gnome so that I can use it as a modifier?

monitorjbl avatar
om flag
@Quasímodo I can do that, but I'm not sure how to do it in such a way that Gnome will respect it. I asked a question about that a week ago, Gnome seems to not respect remapping keys: https://askubuntu.com/questions/1439814/how-do-you-swap-the-alt-win-keys-and-map-win-key-to-meta-in-gnome.
Score:1
cn flag

There is no one way to disable all Super+key combination. They are defined in different places. "Settings" - "Keyboard Shortcuts" is the first place to look for several of them and disable/change them. Others are in different places.

The command gsettings list-recursively | grep '<Super>' will give you a good idea on the different places where Super is assigned. You can then either use the gsettings command or the graphical tool dconf-editor (not installed by default) to change the settings.

For the two examples you provided:

Super to open application launcher

Disable with the command

gsettings set org.gnome.mutter overlay-key ''

Super+drag to move windows around

In Gnome Tweaks, Window Tab, disable the "Window Action Key" or set it to Alt.

Alternatively, use gsettings to disable the key or set it to another modifier key (e.g. <alt> or <Control>).

gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier 'disabled'
I sit in a Tesla and translated this thread with Ai:

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.