wtorek, 6 maja 2014

Ubuntu 14.04 - How to dock applications to the Unity launcher

There is a gsettings command which let us do the job.

First we need to retrieve current configuration.

gsettings get com.canonical.Unity.Launcher favorites

We should receive something like that:

['application://nautilus.desktop', 'application://firefox.desktop', 'application://ubuntu-software-center.desktop', 'application://unity-control-center.desktop', 'unity://running-apps', 'application://eclipse.desktop', 'unity://expo-icon', 'unity://devices']

Now we need to put our application (luna.desktop entry - should be created manually in well-known applications folder - eg. ~/.local/share/applications/luna.desktop)

gsettings set com.canonical.Unity.Launcher favorites ['application://nautilus.desktop', 'application://firefox.desktop', 'application://ubuntu-software-center.desktop', 'application://unity-control-center.desktop', 'unity://running-apps', 'application://eclipse.desktop', 'application://luna.desktop', 'unity://expo-icon', 'unity://devices']

New launcher item will appear immediately.

Brak komentarzy:

Prześlij komentarz