How to Manually Create Application Launcher in Ubuntu 12.04 (Unity)

Through the years, Ubuntu has got new features and a totally new and different environment which is Unity. Before, when Ubuntu had a classic gnome user interface, it was quite easy to create application launchers. But this doesn’t mean that it is so hard to do in Unity. Just keep reading and I’ll show you how to do that in a very easy way.

Unfortunatly, we can’t just right click on the Unity dash and create a launcher; furthermore, there is no application that manages the dash installed by default with Ubuntu. So we need to forget all these methods.

Suppose I want to create a laucher for Aptana.

I need to create a file in /usr/share/applications that contains informations about my application. I’ll use gedit to do that:

sudo gedit /usr/share/applications/Aptana.desktop

In this file, I need to past some informations about my application which are:

[Desktop Entry]
Version=3
Type=Application
Terminal=false
StartupNotify=true
Icon=/opt/Aptana_Studio_3/icon.xpm
Name=Aptana
Comment=Programming IDE
Exec=/opt/Aptana_Studio_3/AptanaStudio3
Categories=Application;Development;

Don’t forget to change informations that consern you application. (Probably, you’ll need to change: Icon, Name, Comment, Exec and Categories)

That’s it! Now I need to save my file and check my Unity dash ;)

  • Pingback: Top 4 Linux Code Editors | Follow The Geeks

  • calel0722

    Excelente aporte, era justo lo que necesitaba porque la aplicación que quería agregar no iniciaba correctamente cuando lo hacia indicando en el Unity mantener el lanzador.

    Me gustaría agregar que para ejecutar con permisos sudo deben agregar en la linea Exec el comando gksudo: Exec= gksudo /opt/…

    Excellent contribution, is just what I needed because the application I wanted to add, not start correctly when i choose from the Unity keep the launcher.

    I just add to run with sudo permissions must be added in the line Exec gksudo command: Exec = gksudo / opt / …

  • defrag

    thanks