Ubuntu – the Unity Launcher .desktop files

launcherunityunity-2d

I'd like to know which folder the Unity Launcher .desktop files are stored in, as they're not anymore in /.gconf/desktop and I need to add a custom application to the launcher bar (adding it in /usr/share/applications doesn't seem to be enough).

Where are the Unity Launcher .desktop files?

Best Answer

Globally in

/usr/share/applications 

Locally in

~/.local/share/applications

If you want to add a custom launcher, create it in ~/.local/share/applications, make it executable, drag and drop it on the launcher*, and finally pin it (right-click on the launcher item → Keep In Launcher).

* Opening it using Nautilus doesn't seem to do the trick.