Shell – Remove the Alt+F1 hotkey from Gnome Shell

gnome-shellkeyboard shortcuts

I want to remove the functionality of Alt+F1 in Gnome Shell. I've tried poking around gconf-editor and dconf-editor, as well as the normal Keyboard settings (super → "keyboard" → click Keyboard), but couldn't find anything. I also wasn't able to find anything when I searched on Google. How can I do this?

Best Answer

That's one of the wm keybindings - you can change it via dconf-editor if you navigate to
org / gnome / desktop / wm / keybindings:

enter image description here

and select/click on panel-main-menu:

enter image description here


You can also do that in CLI via dconf or gsettings e.g.

To get the current keybindings:

gsettings get org.gnome.desktop.wm.keybindings panel-main-menu
['<Super>s', '<Alt>F1']

To set different keybindings use the same syntax - it's an array of quoted strings, separated by a comma and a space, everything enclosed in double quotes:

gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>s']"
Related Question