Huw*_*Huw 7 icons command-line scripts unity launcher
我有几台电脑,都快要报废了。
第一对夫妇已经走了,我发现自己又不得不在它复活的残骸上重新安装 ubuntu,然后费力地重新配置一切。
所以我正在编写几个脚本来重新配置它回到我喜欢的样子......并安装我需要工作的所有核心程序。
理想情况下,我会Sudo ./install.sh走开,喝点茶,避免头痛。
到目前为止,我有:
# Turn on workspaces
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 2
# Turn on hide launcher
gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-hide-mode 1
Run Code Online (Sandbox Code Playgroud)
任何人都可以建议我如何将启动器图标大小自动设置为一个数字(在这种情况下可能是 36)以及类似的命令是用于自动隐藏启动器灵敏度的。
我能够使用 dconf 做到这一点,例如将启动器图标大小设置为 64 像素
代码:
dconf write /org/compiz/profiles/unity/plugins/unityshell/icon-size 64
Run Code Online (Sandbox Code Playgroud)
要将其重置为默认值,您可以使用
代码:
dconf reset /org/compiz/profiles/unity/plugins/unityshell/icon-size
Run Code Online (Sandbox Code Playgroud)
默认情况下不安装 dconf 命令行实用程序 - 您需要安装 dconf-tools 包。通常通过 gsettings 有一个等效的命令,但是在这种情况下,所需的架构定义似乎不存在。
来源:http : //ubuntuforums.org/showthread.php?t=2195187
| 归档时间: |
|
| 查看次数: |
3069 次 |
| 最近记录: |