Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Prevent gnome intercepting some shortcuts used by intellij
# disable Alt+` in gnome which is used for the VCS Operations Popup in intellij
gsettings set org.gnome.desktop.wm.keybindings switch-group "['disabled']"
# disable Ctrl+Alt+Shift+Down and Ctrl+Alt+Shift+Up
# which are used for Next / Previous VCS change in intellij
# not sure if this one works yet but Ctrl+Alt+Shift+Super+Up/Down seems to even though
# intellij makes no mention of the super key in the keymap...
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-down "['disabled']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-up "['disabled']"
# disable Ctrl+Alt+Left and Ctrl+Alt+Right
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "[]"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "[]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment