Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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)?

Thanks.

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
add comment

3 Answers

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
add comment

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

http://www.ubuntugeek.com/how-to-create-desktop-launchers-in-ubuntu-11-10oneiric.html

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
add comment

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

1- open terminal

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

3- $ source .profile or logout and login

4- gedit

5- #!/bin/sh sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

6- Give it a name with no space and then make executable(chmod a+x launcher-script) or right click goto 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.

8- Type: Application in Terminal THIS ONLY APPLIES THIS TIME. Most of the time it will be Application after this.

9- You can name what you wish. NO-SPACES-ALLOWED I called mine Create-Launcher

10- In the command field put the path to the script from step 3

/home/mike/bin/launcher-script bu you must use your user name and your file name.

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

12- 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.

After thought, 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, you verify for yourself.

share|improve this answer
add comment

Your Answer

 
discard

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.