如何通过命令行禁用粘性边缘?
我知道如何通过Settings-> Display UI禁用Sticky Edges,但是,我希望能够通过命令行或配置文件来实现。
有谁知道如何通过命令或配置文件禁用“粘性边缘”?
Ubuntu在哪里存储配置选项?
以下命令禁用粘性边缘:
dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-capture-mouse false
而这一个重新启用它们:
dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-capture-mouse true
它可能是dconf数据库中的/org/compiz/profiles/Default/plugins/core/active-plugins
键:
-
要检查打开的终端,请运行
dconf watch /
-
打开CompizConfig设置管理器,尝试启用和禁用所需选项。 注意终端的变化。
-
使用命令
dconf write KEY VALUE
来设置所需的设置dconf read /org/compiz/profiles/Default/plugins/core/active-plugins dconf write /org/compiz/profiles/Default/plugins/core/active-plugins
gsettings get org.compiz.core:/org/compiz/profiles/Default/plugins/core/ active-plugins gsettings set org.compiz.core:/org/compiz/profiles/Default/plugins/core/ active-plugins
参考: man dconf
,如果你想看到所有可能的选项,请尝试使用dconf-editor