Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-04-16 Thread Neil C Smith
On Mon, 6 Jan 2020 at 19:16, Neil C Smith wrote: > Thanks. Just had a bit of time to dig into this. I can replicate > your issue with the duplicate launcher icon appearing, as of 11.2 - > earlier versions are fine. I can't replicate the WM_CLASS of the IDE > window being wrong, but it seems

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-06 Thread Neil C Smith
On Sat, 4 Jan 2020 at 19:41, ronald marangwanda wrote: > Im on Ubuntu 18.04 and the java im using is openjdk version "11.0.5" Thanks. Just had a bit of time to dig into this. I can replicate your issue with the duplicate launcher icon appearing, as of 11.2 - earlier versions are fine. I can't

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-04 Thread ronald marangwanda
Im on Ubuntu 18.04 and the java im using is openjdk version "11.0.5" Thanks, On Sat, 4 Jan 2020 at 04:49, Neil C Smith wrote: > > > On Fri, 3 Jan 2020, 23:16 Laszlo Kishalmi, > wrote: > >> It shall work, here is the line from the Snap package: >> >> StartupWMClass=Apache NetBeans IDE 11.2 >>

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-04 Thread Neil C Smith
On Fri, 3 Jan 2020, 23:16 Laszlo Kishalmi, wrote: > It shall work, here is the line from the Snap package: > > StartupWMClass=Apache NetBeans IDE 11.2 > > It was confirmed to work for 11.2 > Given the xprop output in the original email I'm not sure it is everywhere. It also feels familiar. I'll

Re: STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
> developing upon struts in 10+ years OMG! I guess I better go on Spring MVC . I hope that i still current. On 04/01/2020 00:53, Laszlo Kishalmi wrote: Well try this one: https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html I'd recommend to start a Simple

Re: STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Well try this one: https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html I'd recommend to start a Simple Maven Web application. The graphical web designer had been retired ages ago as well as the tutorial page. Personally I haven't seen anyone developing upon

STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
Thank you sir, my particular interest is in struts2 framework. I was particularly drawn to NetBeans because of the page I found showing I can develop  stuts2  graphically. https://netbeans.org/kb/docs/web/quickstart-webapps-struts.html That page seems to show struts1 , may be it is out of

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Yes this is the user list. We have a separate one called dev for those who has the interest! On 1/3/20 3:23 PM, zahid wrote: is this the right emailing list for users of NetBeans because I have no interest in developing anything for  netbeans just use want to netbeans for developing web

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
is this the right emailing list for users of NetBeans because I have no interest in developing anything for  netbeans just use want to netbeans for developing web applications ? On 03/01/2020 23:16, Laszlo Kishalmi wrote: It shall work, here is the line from the Snap package:

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
It shall work, here is the line from the Snap package: StartupWMClass=Apache NetBeans IDE 11.2 It was confirmed to work for 11.2 On 1/3/20 3:10 PM, Neil C Smith wrote: On Fri, 3 Jan 2020, 21:36 ronald marangwanda, mailto:ronald.marangwa...@gmail.com>> wrote: I added that line to the

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Neil C Smith
On Fri, 3 Jan 2020, 21:36 ronald marangwanda, wrote: > I added that line to the .desktop file but I do not know what the correct > WMClass for Apache Netbeans 11.2 is. > Ah, sorry, you're right - it should match the value you get from xprop. And does seem like the code to set WM_CLASS linked

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
You have not mentioned  ubuntu version , so I am hesitant to answer. I too have created  desktop shortcut manually. I prefer to use install kubuntu  directly after after I install ubuntu gnome. because I do not want of deprive myself of free  stuff. Anyway I have found the two important

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread ronald marangwanda
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

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Also if you install it from https://snapcraft.io/netbeans then the desktop file would be correct. On 1/3/20 9:21 AM, Neil C Smith wrote: On Fri, 3 Jan 2020 at 16:24, ronald marangwanda wrote: I created a .desktop file for Gnome 3 on Ubuntu. ... Does netbeans not set the WM_CLASS correctly?

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Neil C Smith
On Fri, 3 Jan 2020 at 16:24, ronald marangwanda 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

WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread ronald marangwanda
I created a .desktop file for Gnome 3 on Ubuntu. Everytime I launch netbeans 11.2, the launcher icon is duplicated on the Gnome dock. I checked the WM_CLASS property for netbeans 11.2: > $ xprop WM_CLASS > WM_CLASS(STRING) = "java-lang-Thread", "java-lang-Thread" > Does netbeans not set the