Linux – How to disable workspace switching keys (ctrl-alt-arrow) in Mate / Macro

keyboard shortcutslinuxmate

In MATE (at least as shipped with Ubuntu 17.04), by default, Ctrl-Alt-{Left/Right/Up/Down} switches workspaces. Thus this shortcut is unavailable in applications.

In the "Keyboard Shortcuts" (mate-keybinding-properties) application, this shortcut is not listed. (Probably because it is handled by the underlying window manager Marco.) How can it be disabled?

Best Answer

You can use: gsettings set org.mate.Marco.global-keybindings switch-to-workspace-left disabled gsettings set org.mate.Marco.global-keybindings switch-to-workspace-right disabled gsettings set org.mate.Marco.global-keybindings switch-to-workspace-up disabled gsettings set org.mate.Marco.global-keybindings switch-to-workspace-down disabled

The names of those (and many other) settings can be found here (in somewhat unreadable form): https://github.com/mate-desktop/marco/blob/master/src/org.mate.marco.gschema.xml. The command for changing shortcuts is described very shortly in https://github.com/mate-desktop/marco/blob/master/README.

Related Question