46

I use GNOME Classic. There is no Ctrl+Alt+Left/Right shortcut in System Settings -> Keyboard -> Shortcuts.

enter image description here

It should be configured somewhere else. But where?

geevee
  • 461
  • 1
  • 4
  • 4

6 Answers6

67

Remove the default keybinding using the following commands

 gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "['']"
 gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "['']"
mac
  • 3,801
  • 4
  • 35
  • 50
  • 1
    Using gnome-shell on Arch, and this is the only answer that worked for me. – Cheezmeister Jun 01 '14 at 20:34
  • 2
    Had to do this in order to use this shortcut for other apps in ubuntu 18.04. Note that in ubuntu 18.04 (today 2018-05-22) there is no left or right workspace by default and there is no way to configure this shortcut via graphical settings – Qlimax May 22 '18 at 08:38
  • 3
    On recent gnome-shell is not possible to have left and right workspaces but keybinding is still active (and clashing with Intellij IDEA defaults). – Giovanni Toraldo Dec 04 '18 at 11:12
  • 2
    If you prefer a GUI editor, you can run `dconf-editor` instead of the above `gsettings` commands. In the editor, navigate to the same path (`/org/gnome/desktop/wm/keybindings`). – seairth Dec 31 '19 at 16:31
  • gsettings still works on ubuntu 18.04, but it requires to restart gnome-shell to apply the new bindings (`Alt+F2`, `r`, ``) – Giovanni Toraldo Feb 04 '20 at 14:12
19

In my system, those configs are available in System Settings -> Keyboard. Please double-check.

enter image description here

If those aren't available, you can try add them with gconf-editor. If you use Metacity, simply go to /apps/metacity/global_keybindings and add the corresponding values:

enter image description here

If you use Compiz, you can follow the steps provided by @ams

Salem
  • 19,604
  • 6
  • 62
  • 90
4

Finally, in Ubuntu 22/04 this can be disabled using System Settings -> Keyboard -> View and Customize Shortcuts -> Navigation. In there, find Move to workspace on the left and Move to workspace on the left, click on each entry and re-assign Super+Page Up and Super+Page Down respectively. This will disable any other assigned shortcuts.

  • I'm using Ubuntu 22.04, following `Customize Shortcuts` and set `Move to workspace to left` to `Super+Page up`, but this does not disable `Ctrl+Shift+Left` to be working at the same time... Any idea how I can disable it? – WillZ Sep 29 '22 at 21:51
  • Works in Ubuntu 22.10. Finally using it in PHP Storm again. Although I had to assign it there, as Navigate back is assigned to Shift Alt Left on Linux and Ctrl Alt Left on Windows. – Jan Derk Jan 05 '23 at 18:43
4

CompizConfig Setting Manager (it's not installed by default though).

Then go to "Desktop Wall Plugin", and it's on the "Bindings" tab.

That's assuming you are using Unity (full 3D), or (edit) Gnome with effects enabled.

ams
  • 2,940
  • 3
  • 19
  • 31
1

open gconf-editor.

Go to /apps/metacity/global keybindings and change the values according to my screenshot:enter image description here

martin
  • 1,783
  • 1
  • 12
  • 21
0

on ubuntu 22:

whenever i was pressing ctrl alt left/right my workspace would move.

However, in the keyboards settings I did not have such a shortcut set but i had one for each:

a. Move workspace on the left ; shortcut: ctrl + alt + up (wtf)

b.Move workspace on the right: ctrl + alt + down (wtf again)

when i disabled the above two ctrl+alt+left/right stopped working as well.

.. quite interesting one might add ...