Hi Neil, Ok, thanks.
I added that line to the .desktop file but I do not know what the correct WMClass for Apache Netbeans 11.2 is. When I enter the line you posted as is, I still get the duplicate icons when I launch the application, which means its not the correct WMClass. What is the correct value to enter for the WMClass? I prefer installing manually so the snap solution is not going to help me. Ron On Fri, 3 Jan 2020 at 12:21, Neil C Smith <neilcsm...@apache.org> wrote: > On Fri, 3 Jan 2020 at 16:24, ronald marangwanda > <ronald.marangwa...@gmail.com> wrote: > > I created a .desktop file for Gnome 3 on Ubuntu. > ... > > Does netbeans not set the WM_CLASS correctly? How do I fix this? > > The answer's in your question! ;-) Make sure to add the WM_CLASS line > to the .desktop file > > eg. > > StartupWMClass=Apache NetBeans 11.2 > > Best wishes, > > Neil >