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 created a netbeans.desktop and eclipse.desktop and added them to Unity launcher and did exactly the same for eclipse & Netbeans here: How do I install Eclipse Indigo 3.7.1? in order to run it from terminal or dashboard. The problem is that if I run them from dashboard or terminal, another entry is displayed in the launcher.

second Entry in Launcher

Is there any solution so that when I run the IDEs from dashboard or terminal, only the Launcher entry already pinned, is used?

Thanks in advance.

share|improve this question
use eclipse from software center. i don't have a solution for netbeans, since i don't use it – RobotHumans Apr 29 '12 at 23:39
@aking1012 For Eclipse case! I kept away from installing from SC because I have an eclipse which I deeply configured for my development needs. Reproducing these confs in a newly installed Eclipse is gonna take me time and I might not remember all what I did. For Netbeans, I do need the latest version 7.1-2 which is not in SC. Thanks for your comment! – Hanynowsky Apr 29 '12 at 23:54
I understand. There are known bugs with Java programs and the launcher. It isn't specific to software development environments, both of those programs are just written in Java. Until it's okay to install from software center, I would recommend a)using an application launcher like the one from screenlets(I do) or b)installing from software center. Short of that, I am sure the Canonical Devs/Ubuntu unpaid Community Maintainers are working as hard as they can. – RobotHumans Apr 30 '12 at 6:02
Thanks for the prompt reply. I don't doubt about Devs work :) I shall live now with the Launcher (I am installing eclipse from Software Center soon after I figure out all my custom tweakings). For Netbeans, Updating it to the latest version in USC is gonna be a big advantage for Ubuntu. Looking forward to that. – Hanynowsky Apr 30 '12 at 16:36

Effective solution found thanks to Java Swing Ayatana library.

Netbeans Integration with Global Menu and Launcher

Open your Netbeans IDE, then go to menu: Options / Plugins; And add the Java Ayatana plugin's remote XML catalog file: and then install it - (Restart NetBeans).

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.