Ubuntu – Something blocks Ctrl+Alt+left/right-arrow keyboard combination

18.04gnome-shellkeyboardshortcut-keys

In Ubuntu 18.04 I'm not able to assign Ctrl+Alt+ or Ctrl+Alt+ to anything. To be precise I may bind it to something, but it doesn't work when using the keyboard combination, up/down arrows do however work.

See screenshot here.

The strange thing is that the system detects the keyboard combinations when assigning a key, but not when trying to use them. As a result the keyboard combinations don't work in any other programs either.

Best Answer

Ctrl+Alt+ and Ctrl+Alt+ are default shortcuts for "switch to workspace left" and "switch to workspace right" respectively. You can verify that by running

gsettings get org.gnome.desktop.wm.keybindings switch-to-workspace-left

(and right in place of left).

Since by default GNOME shell has single column workspaces these shortcuts show no effects at all (unless you try something like this).

To unbind these keyboard combinations, run

gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "[]"

(similarly for right). Then you'll be able to use these combinations for your custom shortcuts.

Related Question