I have tried setting StartupWMClass to these two values, as well as "java-lang-Thread" in my jabref.desktop file. Nothing works, I always get a duplicate icon showing up in Unity's launcher.
For completeness, the present contents of my jabref.desktop file are:
Same problem with JabRef, and I cannot seem to find a resolution.
Is there not a webpage somewhere the explains, in detail, how BAMF does it's matching?
For JabRef, xprop reports:
morse@s3 launchers> sleep 2; xprop | grep WM_CLASS X11-XFramePeer" , "net-sf- jabref- JabRefMain"
WM_CLASS(STRING) = "sun-awt-
I have tried setting StartupWMClass to these two values, as well as "java-lang-Thread" in my jabref.desktop file. Nothing works, I always get a duplicate icon showing up in Unity's launcher.
For completeness, the present contents of my jabref.desktop file are:
#!/usr/bin/env xdg-open
[Desktop Entry] JabRef. jar net-sf- jabref- JabRefMain jabref/ JabRef- icon-48. png
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=java -jar /opt/jabref/
StartupWMClass=
Name=Jabref
Comment=Jabref Reference Manager
Icon=/opt/