如何更改显示统一破折号的快捷键?

Blu*_*lub 3 shortcut-keys unity-dash

我不想为此使用 the Super,我想使用Alt+Space代替。

αғs*_*нιη 7

打开终端并执行以下命令:

dconf write /org/compiz/profiles/unity/plugins/unityshell/show-launcher '"<Alt>space"'
Run Code Online (Sandbox Code Playgroud)

要读取当前值,请使用read选项:

dconf read /org/compiz/profiles/unity/plugins/unityshell/show-launcher
Run Code Online (Sandbox Code Playgroud)

如果要将其设置为默认值,请使用reset如下选项:

dconf reset /org/compiz/profiles/unity/plugins/unityshell/show-launcher
Run Code Online (Sandbox Code Playgroud)

来自man dconf

dconf read KEY
dconf write KEY VALUE
dconf reset [-f] PATH
Run Code Online (Sandbox Code Playgroud)
  • read :读取键的值。
  • 写入:将新值写入键。
  • 重置:重置密钥或整个目录。对于目录,-f必须指定。


小智 6

您可以使用 CCSM(CompizConfig 设置管理器)来设置哪个快捷方式打开或禁用它。

sudo apt-get install compizconfig-settings-manager
Run Code Online (Sandbox Code Playgroud)

然后从终端通过执行 ccsm 启动它,找到 Ubuntu Unity Plugin 并选择 Launcher 选项卡。禁用“显示破折号的键...”快捷方式。