我已经使用切换器小程序成功配置了四个工作区,但我找不到在哪里配置快捷方式(例如ctrl+ alt+left移动到左侧的工作区)。
一些资源说它应该在“首选项”>“键盘快捷键”下,但我只能找到Sound
、Desktop
(包括锁定屏幕、主文件夹、搜索、计算和其他应用程序)和Custom
的条目。
我的安装中是否缺少某些内容?是否可以手动添加这些快捷方式?我是否应该放弃 MATE 工作区并使用 Compiz 工作区(不与 Windows 小程序集成)?
答案1
这些设置通常可以在键盘快捷键中找到:
系统 > 首选项 > 硬件 > 键盘快捷键
单击显示组合键或显示“禁用”的位置,然后按下所需的组合键。
如果您由于某种原因无法使用此功能或您更喜欢 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'
要更改一个,请使用该gsettings set
命令,例如
gsettings set org.mate.Marco.window-keybindings move-to-workspace-3 '<Mod4>3'
此命令将super+设置3为将当前窗口移动到工作区 3 的快捷方式。
要删除键绑定,set
请将其设置为“禁用”。请参阅man gsettings
以了解更多详细信息。您可能需要进行实验才能准确实现您想要的效果。