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

This question already has an answer here:

I installed eclipse juno to /usr/local/eclipse and added it to the $PATH. So I can run it from terminal simply by entering "eclipse". Now I want a launcher icon for it and it would be nice to have it in the applications when you search for it. This seems to complicated considering the tutorials I found. When I launch eclipse I can lock it to the launcher, but it will not start from there when I click the icon.

How do I get it to the launcher AND to the search?

share|improve this question

marked as duplicate by Jorge Castro, Basharat Sialvi, bcbc, Eric Carvalho, Raja Apr 27 '13 at 15:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You will get better answer if you stick to a question relating to the problem. A large part of your question is a rant. The method user68186 mentions, to me, is the easiest method there is. And in case the launcher does not work you can start the command it uses from command line and see if it throws any errors (but that error is probably not Unity's fault ;-) ) – Rinzwind Apr 26 '13 at 13:42
This isn't a launcher issue, it's that Eclipse's .desktop file doesn't come with the right bits. – Jorge Castro Apr 26 '13 at 14:14

I agree. It is complicated. You have 2 options.


Install a program called 'Alacrity' or 'Main Menu' from the software center. It will create launchers as you desire. It is that "add to launcher" program you are looking for.


You can create a .desktop file (same thing as a launcher), and place it here: ~/.local/share/applications

I believe the format for a .desktop file goes something like this:

[Desktop Entry]
Type = Application
Name = name-of-application
Comment = your-desired-comment
Exec = command to execute (ex. 'eclipse')
Icon = path-to-icon

More info about .desktop files can be found here:

share|improve this answer
+1 for option no. 2 above, thanks – Clive van Hilten Sep 4 '14 at 16:48

Not the answer you're looking for? Browse other questions tagged or ask your own question.