Customise the Unity Launcher from Command Line

I am rolling out some Linux desktops, specifically Ubuntu, and I wanted to customize the icons available in the Unity Launcher. I wanted to remove the LibreOffce Calc and Impress icons and the darned ‘Amazon’ one, so:

Create a new gschema override file for our customisations:

vi /usr/share/glib-2.0/schemas/99_launcher.favorites.gschema.override

Add some content (the com.canonical.Unity.gschema.xml file in the same directory can be used for ideas) :

[com.canonical.Unity.Launcher]
favorites = ['application://ubiquity.desktop','application://nautilus.desktop','application://firefox.desktop','application://filezilla.desktop','application://libreoffice-writer.desktop','application://ubuntu-software-center.desktop', 'unity://running-apps', 'unity://expo-icon', 'unity://devices']

Then compile the gschema files:

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

Then log in as a new user and you should see the new default icon set in the Launcher.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>