I mapped Ctrl-Alt-Up/Down to open web-browser and email client but it didn't take effect. Ctrl-Alt-Up/Down still switch workspaces as the default setting of GNOME 3.8.
I have tried log-out/log-in. No good.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The new keybinding you define in 'Settings-->Keyboard-->Shortcuts-->Navigation' will get appended to the previous/default one.
It will become, for example.
gsettings get org.gnome.desktop.wm.keybindings switch-to-workspace-down ['<Primary><Shift>Down', '<Control><Alt>Down']
I managed to remove the default keybinding using the following commands
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['']" gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['']"
This clears all defined shortcuts for those tasks. And then just use 'Settings-->Keyboard-->Shortcuts-->Navigation' to define the desired shortcuts.
This worked for me on Ubuntu 12.04
Go to "System Settings -> Keyboard -> Shortcuts -> Navigation".
Find the workspace switching shortcuts bound to CTRL-ALT-ARROW. For each one of them do this:
Click on shortcut (so it says "New Accelarator..." allowing you to change the shortcut). Now Press 'Backspace' to clear it. It now says 'Disabled' for that shortcut.
(The question is more general than just about Ctrl-Alt-Up/Down. As for me personally, I had the problem that my Emacs didn't get Ctrl-Alt-Left/Right. So, I'd like to write an answer with the solution I have found for Ubuntu 20.04.)
Those pointing at the compiz settings were right (via
ccsm available after
apt-get install compizconfig-settings-manager compiz-gnome, the latter one for
/usr/lib/x86_64-linux-gnu/compizconfig/backends/libgsettings.so, although I'm not sure that backend is actually used in my system):
I couldn't find the bindings for these keys via the normal Ubuntu settings menu.
What's new in my answer is that not only compiz's Grid plugin (under "Window Management") could have bound these keys (which you'd like to use in a different way), but also the Desktop Wall plugin (under "Desktop" in
ccsm). Especially, the bindings with Left/Right could be found by me to be bound in the latter plugin.
For all 4 (left, right, up, down), you might want to look through the bindings of both these plugins in
ccsm (and disable them). Or use the search tool in
ccsm to search for "left", "right", etc. in all the values.
After I disabled these bindings in
ccsm, Emacs immediately started getting these key combinations. (Finally! That has been so inconvenient for me for so long to have this problem in Emacs whenever I had to use an Ubuntu computer...)
To enable for me the use of Ctrl-Alt-Up/Down in Emacs, I had to look into the usual Ubuntu settings menu, as in https://askubuntu.com/a/1145043/19753 , however, I didn't see such bindings there in the Navigation section of key shortcuts. In despair, I tried disabling the following ones: Super-PageDown/PageUp (note Page!), and that helped.
I tried @mac 's approach but I still could get rid of
Control+Alt+Up keybinding. Reading Skype Book's comment here pointed me in the right direction. What did the trick for me was to