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 added application to launcher like this. I run it from command line, then when icon appeared in launcher, I right clicked it and checked "Keep In Launcher".

It works fine, but I'd like to add name to this launcher icon. When I hover over some other icon in the lanucher, a name appears. On icon I added there is no name. How can I add one?

share|improve this question

Hi the most basic *.desktop file you could create would be:

[Desktop Entry]

This is an example I use for eclipse. I created it like this

sudo nano /usr/share/applications/eclipse.desktop

After that you have to make it executable with

sudo chmod +x /usr/share/applications/eclipse.desktop 

Than if you want to add it to the launcher just execute it (navigate to /usr/share/applications/ and double click eclipse) and right click on the icon in the laucher and select "Keep In Laucher"
The application will now also be displayed when you search for applications in the application lens.

share|improve this answer
It doesn't work. Probably because I run script, which runs the application itself. – amorfis May 12 '11 at 9:22

Open a new text file and paste this:

[Desktop Entry]

Fill in the desired name, comment and command. Save it as a .desktop file and move it to ~/.local/share/applications

Log out, and log back in and that should do it.

share|improve this answer

Launchers is just *.desktop files. You can find most of them in /usr/share/applications folder. Just Drag & Drop the *.desktop files into your unity launch bar and that's it. Or more easly, search the app with the dashboard (in serach mode with <Alt><F2> command or with the 'Application Lens' (<Super><A>) and drag and drop the shortcut from the dash to the launcher bar.

But maybe the app is a script that you created or something like this, not referenced in Ubuntu. In this case you can create your own launcher as Leron said (you can change the icon too ;) )

I hope my explaination will help you


share|improve this answer

Find the *.place (*desktop) and add the option

Name={your descripton}

Example with the Ask Ubuntu lens:


Name=Ask Ubuntu
Description=Ask Questions and Get Answers on Ask Ubuntu
SearchHint=Search Ask Ubuntu

[Desktop Entry]
share|improve this answer
Where should I look for the *.place? – amorfis May 1 '11 at 15:04
amorfis: looks like it either is /usr/share/unity/places or /usr/share/app-install/desktop But you made that launcher yourself (?) – Rinzwind May 1 '11 at 20:24
At /usr/share/unity/places I have only and At /usr/share/app-install/desktop I have a lot of *.desktop files, but no *.place file. – amorfis May 1 '11 at 20:54
Look in .local/share/applications – Jorge Castro May 1 '11 at 21:15
Thanks @Jorge, but it's not there :( – amorfis May 3 '11 at 21:19

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.