Can't pin certain applications to the dock

Taken from #817 from upstream

As a workaround (not as a fix to the bug), in all such cases
• install xprop
• open your app (a window has to be visible)
• run xprop in terminal and click the app’s window
• look in terminal for the line WM_CLASS(STRING) = . It should specify “Somename”
• rename the launcher accordingly ( Somename.desktop ) and save it in ~/local/share/applications
• run it and you should be able to pin it

1 Like