2

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?

1
  • @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: askubuntu.com/questions/1439814/….
    – monitorjbl
    Nov 18, 2022 at 21:10

1 Answer 1

0

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'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.