Skip to content

Instantly share code, notes, and snippets.

@sethp
Created September 22, 2022 17:34
Show Gist options
  • Save sethp/62c3e89c38858fb9557551911144e00a to your computer and use it in GitHub Desktop.
Save sethp/62c3e89c38858fb9557551911144e00a to your computer and use it in GitHub Desktop.
Disable "move workspace up/down" shortcuts on GNOME

When trying to use the default "duplicate line up/down" key bindings on Linux under GNOME (Manjaro), the input event wasn't making it all the way to VSCode.

Eventually, I found a discussion that suggested removing the bindings via dconf-editor[0], and that worked. These are the equvialent dconf command-line invocations:

dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-up '@as []'
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-down '@as []'

These can be restored to the default with:

dconf reset /org/gnome/desktop/wm/keybindings/move-to-workspace-up
dconf reset /org/gnome/desktop/wm/keybindings/move-to-workspace-down

[0] https://forum.manjaro.org/t/system-consumes-keyboard-shortcut/87736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment