小编BiA*_*AiB的帖子

重新启动后“切换到特定工作区”快捷方式不起作用

我定义了一些快捷方式来访问我的每个工作区:

<Super>+1 for the First
<Super>+2 for the Second
etc...
Run Code Online (Sandbox Code Playgroud)

当我分配这些快捷方式时,它们会正常运行,直到我重新启动。我不知道为什么会这样。

出于某种原因,在我工作的桌面上(相同的发行版,10.10),它工作正常。

为了使它们再次起作用,我需要取消所有它们的分配,然后再次重新分配它们。

我有一个脚本可以自动执行这些操作:

gconftool-2 --unset /apps/metacity/global_keybindings/switch_to_workspace_1
gconftool-2 --unset /apps/metacity/global_keybindings/switch_to_workspace_2
gconftool-2 --unset /apps/metacity/global_keybindings/switch_to_workspace_3
gconftool-2 --unset /apps/metacity/global_keybindings/switch_to_workspace_4
gconftool-2 --unset /apps/metacity/global_keybindings/switch_to_workspace_5
gconftool-2 --unset /apps/metacity/global_keybindings/switch_to_workspace_6
gconftool-2 --unset /apps/metacity/global_keybindings/switch_to_workspace_7
gconftool-2 --unset /apps/metacity/global_keybindings/switch_to_workspace_8

gconftool-2 -t str --set /apps/metacity/global_keybindings/switch_to_workspace_1 "<Mod4>ampersand"
gconftool-2 -t str --set /apps/metacity/global_keybindings/switch_to_workspace_2 "<Mod4>eacute"
gconftool-2 -t str --set /apps/metacity/global_keybindings/switch_to_workspace_3 "<Mod4>quotedbl"
gconftool-2 -t str --set /apps/metacity/global_keybindings/switch_to_workspace_4 "<Mod4>apostrophe"
gconftool-2 -t str --set /apps/metacity/global_keybindings/switch_to_workspace_5 "<Mod4>parenleft"
gconftool-2 -t str --set /apps/metacity/global_keybindings/switch_to_workspace_6 "<Mod4>minus"
gconftool-2 -t str --set /apps/metacity/global_keybindings/switch_to_workspace_7 "<Mod4>egrave" …
Run Code Online (Sandbox Code Playgroud)

shortcut-keys compiz

2
推荐指数
1
解决办法
3808
查看次数

标签 统计

compiz ×1

shortcut-keys ×1