Ubuntu – How to disable Gnome ctrl+alt+down and ctrl+alt+up shortcut

gnomeUbuntu

There's a shortcut on Discord that enables you to switch between guilds easily. It's Ctrl+Alt+Up and Ctrl+Alt+Down.

The problem is that Gnome uses this shortcut for changing workspaces. I have two monitors so I don't use additional workspaces very often so I opened settings and looked for the shortcut so that I can disable it.

I found that apparently the shortcut to switch workspaces up and down is Super+Page Up and Super+Page Down and I couldn't find the Ctrl+Alt+Up or down shortcut anywhere else. It seems almost as if this shortcut isn't possible to change but I'm sure that's not the case, though I have no idea how to do that.

Best Answer

In general this can happen because the OS (window system) has priority and intercepts this shortcut and stops propagation to your desired application. Solution: Removing the shortcuts using dconf-editor:

  • Open a terminal
  • sudo apt-get install dconf-tools (or dconf-editor)
  • Now run dconf-editor
  • in dconf-editor go to: /org/gnome/desktop/wm/keybindings/
  • Find switch-to-workspace-down, put ['disabled'] instead of default
  • same for switch-to-workspace-up
  • quit dconf-editor and you are done

I always have this problem when I want to use some Eclipse IDE shortcuts: https://bugs.eclipse.org/bugs/show_bug.cgi?id=321094

Related Question