Mas*_*ura 5 command-line window-manager unity compiz
我知道如何通过 Settings->Display UI 禁用 Sticky Edges,但是,我希望能够通过命令行或配置文件来执行此操作。
有谁知道如何通过命令或配置文件禁用“粘性边缘”?
Ubuntu 在哪里存储配置选项?
以下命令禁用粘性边缘:
dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-capture-mouse false
Run Code Online (Sandbox Code Playgroud)
而这个重新启用它们:
dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-capture-mouse true
Run Code Online (Sandbox Code Playgroud)
它可能是/org/compiz/profiles/Default/plugins/core/active-plugins
dconf 数据库中的关键:
要检查打开的终端,请运行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 <value>
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 <value>
Run Code Online (Sandbox Code Playgroud)参考:man dconf
,如果你想查看所有可能的选项,请尝试dconf-editor