如何在 MATE 1.6 上为工作区配置快捷方式

igo*_*s07 8 shortcut-keys compiz workspaces mint mate

我已经成功地使用切换器小程序配置的四个工作区,但我找不到在哪里配置的快捷方式(如ctrl+ alt+left移动到左边的一个)。

一些资源说它应该在首选项 > 键盘快捷键下,但我只能找到Sound, Desktop(包括锁定屏幕、主文件夹、搜索、计算和其他应用程序)和Custom那些的条目。

我的安装中缺少什么吗?是否可以手动包含这些快捷方式?我应该放弃 MATE 工作区并使用 Compiz 工作区(不与 Windows 小程序集成)吗?

Zan*_*nna 6

这些设置通常可以在键盘快捷键中找到:

系统 > 首选项 > 硬件 > 键盘快捷键

https://roseannastar.files.wordpress.com/2016/08/keyboardshortcuts.png

单击显示组合键或显示“已禁用”的位置,然后按所需组合键。

如果由于某种原因无法使用此功能,或者您更喜欢 CLI 方法,请使用 Gsettings。

以下是用于工作区操作的所有可能的键绑定及其可能的默认值:

org.mate.Marco.global-keybindings switch-to-workspace-left '<Control><Alt>Left'
org.mate.Marco.global-keybindings switch-to-workspace-11 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-10 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-1 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-12 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-4 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-2 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-3 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-7 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-5 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-6 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-8 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-prev 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-right '<Control><Alt>Right'
org.mate.Marco.global-keybindings switch-to-workspace-9 'disabled'
org.mate.Marco.global-keybindings switch-to-workspace-down '<Control><Alt>Down'
org.mate.Marco.global-keybindings switch-to-workspace-up '<Control><Alt>Up'
org.mate.Marco.window-keybindings move-to-workspace-8 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-10 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-12 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-11 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-left '<Control><Shift><Alt>Left'
org.mate.Marco.window-keybindings move-to-workspace-down '<Control><Shift><Alt>Down'
org.mate.Marco.window-keybindings move-to-workspace-1 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-2 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-3 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-4 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-5 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-6 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-7 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-9 'disabled'
org.mate.Marco.window-keybindings move-to-workspace-up '<Control><Shift><Alt>Up'
org.mate.Marco.window-keybindings move-to-workspace-right '<Control><Shift><Alt>Right'
org.mate.Marco.window-keybindings toggle-on-all-workspaces 'disabled'
Run Code Online (Sandbox Code Playgroud)

要更改一个使用gsettings set命令,例如

gsettings set org.mate.Marco.window-keybindings move-to-workspace-3 '<Mod4>3'
Run Code Online (Sandbox Code Playgroud)

此命令将super+设置3为将当前窗口移动到工作区 3 的快捷方式。

要删除键绑定,set请将其“禁用”。请参阅man gsettings了解更多详情。您可能需要进行试验才能完全达到您想要的效果。