Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to pin an application in Unity launcher such that it can be seen for all users.

Currently, everything I changed seems to only affect the local user.

share|improve this question

To make appear applications pinned in launcher for newly created users you can change default settings schema by setting up a new override:

Create file /usr/share/glib-2.0/schemas/10_local-unity-launcher.gschema.override and insert the following code (.desktop files are stored under /usr/share/applications/):

favorites=['pinned-application1.desktop', 'pinned-application2.desktop']

You have to insert all pinned applications. See /usr/share/glib-2.0/schemas/com.canonical.Unity.gschema.xml for default values by searching settings schema and key:

        <schema path="/desktop/unity/launcher/" id="com.canonical.Unity.Launcher" gettext-domain="unity">
    <key type="as" name="favorites">

Then recompile schemas file /usr/share/glib-2.0/schemas/gschemas.compiled (which is used by gsettings):

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.