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.

| 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/
| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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