Is there an easy way to disable the Overview key in full-screen games?

I’m using Fedora Workstation with GNOME, F34 pre-release .Normally, I don’t mind having the Overview key handy even in full-screen apps, but in games, it’s really close to often-used Ctrl and Alt keys, and I sometimes hit it by accident, jumping me out of the game to the overview.

Is there a way to disable this while the game window is full screen?

1 Like

Part of an answer (from @fmuellner — thanks!):

$ gsettings set org.gnome.mutter overlay-key ''  # disable super
$ gsettings reset org.gnome.mutter overlay-key   # re-enable super

I’m already using gamemoderun, so I can just adjust that script to run these commands before and after.

1 Like