Demystifying StartupWMClass
As the maintainer of Plank Reloaded, the most common bug report I get is "this app has the wrong icon." It's almost never the dock - it's a broken StartupWMClass in the app's .desktop file. So I wrote up how to find the right value on X11, Wayland, and KDE, and why deleting the line often fixes it.
https://thoughts.greyh.at/posts/startup-wm-class/Open linkView original on toast.ooo
Cool! I've run in to this before. Fixed it. But didn't really understand it.
Oh that's interesting, I have one program that shows wrong icon but never bothered to fix it.