Comment 16 for bug 757991

Revision history for this message
Doug Morse (dm-dougmorse) wrote :

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
WM_CLASS(STRING) = "sun-awt-X11-XFramePeer", "net-sf-jabref-JabRefMain"

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]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=java -jar /opt/jabref/JabRef.jar
StartupWMClass=net-sf-jabref-JabRefMain
Name=Jabref
Comment=Jabref Reference Manager
Icon=/opt/jabref/JabRef-icon-48.png