如何定制 Unity Launcher
定制 Unity Launcher
如何在 Ubuntu Unity 桌面环境下定制 Unity Launcher?
Unity Launcher的定制,只需在/usr/share/glib-2.0/schemas/目录下新建一个com.canonical.Unity.gschema.override文件,并添加.desktop配置,操作如下:
1 | $ echo "[com.canonical.Unity.Launcher] |
favorites=['firefox.desktop', 'nautilus-home.desktop', 'libreoffice-writer.desktop']" > /usr/share/glib-2.0/schemas/com.canonical.Unity.gschema.override
1 | $ glib-compile-schemas /usr/share/glib-2.0/schemas/ |
然后注销系统,即可。