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, <ronald.marangwa...@gmail.com <mailto:ronald.marangwa...@gmail.com>> 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 here doesn't work any more?!

https://github.com/apache/netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/view/ui/MainWindow.java#L123

Best wishes,

Neil

Reply via email to