Comment 2 for bug 1004790

Rocko (rockorequin) wrote :

A workaround is to add 'sleep 10' to the launcher script so it doesn't terminate so quickly. Is the newer version of Unity detecting that the script has terminated and then not considering it as a possible match for the Thunderbird window when TB does finally run?

I am finding this version of unity (5.12-0ubuntu1.1) to be quite hit-and-miss when it comes to matching launcher icons. I can make it match Netbeans 7.1.2 by specifying a startup class of java-lang-Thread, but I can no longer make it recognise a file I run with "Exec=java -jar <some program>.jar", even if I specify the startup class in the desktop file.