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 download Eclipse, uncompressed it in my home folder, launched the application, and selected to keep the application in the launcher. However, the eclipse icon is not being displayed. I'm assuming because it is not technically an installed application.

How can I add an icon for an application in the launcher (ubuntu 11.10)?


enter image description here

share|improve this question
possible duplicate of How to pin Eclipse to the Unity launcher? – Jorge Castro Nov 17 '11 at 23:32
up vote 4 down vote accepted

This is how I created a launcher for Eclipse.

Had the same issue :) exactly for Eclipse.

share|improve this answer
You da man!! Thanks. – Steve Nov 17 '11 at 15:26

This is an easy way to create launcher. See:)

This is simple and you should be able to make a launcher for any application using it.

share|improve this answer
See below for instructions to automate – user39122 Dec 24 '11 at 9:17

This is how I automated creating launchers. This assumes you have already install gnome-panel.

  1. Open a terminal

  2. Either mkdir /home/"your-user-name"/bin or right click on your home folder in the file browser and make a folder named bin.

  3. source .profile or logout and login

  4. Open gedit and make a new file

  5. Paste

    sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

    into a new gedit file

  6. Save it under a name with no space e.g launcher-script and make it executable by either typing chmod a+x launcher-script in the terminal, or right click>properties>Permissions and click the execute box.

  7. in terminal: sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

You should have the Create Launcher gui open.

  1. Type: Application in Terminal. This only applies this time. Most of the time it will be "Application" after this.

  2. You can name what you wish. No spaces allowed. I called mine "Create-Launcher"

  3. In the command field put the path to the script from step 3


    but you must use your user name and your file name.

  4. Click the spring(Launcher icon) to add an icon. I made one with Gimp but there are lots of icons you could use the ones that are very generic and already installed.

  5. Once you're finished click OK. Now you can navigate your file browser down to /usr/share/applications and you will find your new launcher. Simply drag it to your launcher bar and you are ready to go. This process puts your launchers in a place where all users can access them. All of the instructions I have found puts thing on the desktop which might be fine for some but not for me. I hope you find this helpful.

Afterthought, every time you create a new launcher you will have to enter your sudo password. This is necessary to make the new launcher accessible to all users. It will belong to root and the group will be root this way. That is the way the rest of the system comes configured. If you cd to /usr/share/applications, type ls -l and verify for yourself.

share|improve this answer

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.