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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/757991

Title:
  java applications a double icon appears

To manage notifications about this bug go to:
https://bugs.launchpad.net/bamf/+bug/757991/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to