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 use netbeans in Ubuntu Natty. I have added it in the launcher and it works. But there is an issue. When I start netbeans it shows two Icons. One is for the launcher and the other for the active netbeans (the latter's icon is with little white triangle). Is there a workaround?

share|improve this question
    
Might be related to this: bugs.launchpad.net/ubuntu/+source/bamf/+bug/754334 –  Jorge Castro Sep 8 '11 at 14:21
    
Exactly, I wonder when it will be fixed! –  Stefano Mtangoo Sep 9 '11 at 11:10

4 Answers 4

There is a netbeans plugin that works around this problem: http://plugins.netbeans.org/plugin/40321/unity-launcher

share|improve this answer
    
I upvoted your answer, I will check for that! –  Stefano Mtangoo Nov 18 '11 at 4:45
up vote 3 down vote accepted

I found it is a bug in unity described here: https://bugs.launchpad.net/ubuntu/+source/bamf/+bug/751909 I will keep an eye on the ticked and see if it is fixed. If they wont fix it until october, I will upgrade to Oneiric

share|improve this answer
    
I upgraded to Precise and I don't use NB IDE Much. I use my company's IDE –  Stefano Mtangoo Nov 7 '12 at 19:24

open up gksudo /usr/share/applications and delete one of the netbeans.desktop

share|improve this answer

As Curious Apprentice mentions, go to /usr/share/applications and edit the .desktop file which corresponds to your NetBeans installation. In my case, this file was named netbeans-6.8.desktop

Add the following two lines to the end of the file (in my case, after Terminal=0)

StartupNotify=true
StartupWMClass=java-lang-Thread
share|improve this answer

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.