This is not a launcher or Unity bug. And it's still relevant for the latest Ubuntu version (13.04).
Take a look at the *.desktop file of jEdit (it's a text editor written in Java and ships in Ubuntu's universal repository).
First of all: create a copy of jedit.desktop and modify all the relevant entries. Most of them are relevant. :-)
Now the problematic entry is StartupWMClass. If you don't set up this correctly, Unity won't be able to "identify" the process/window that is launched by the executable specified by the "Exec" entry.
You can start up SQuirreL and use xprop to get the correct value. I'll help you: it's "net-sourceforge-squirrel_sql-client-Main"
So a proper squirrel.desktop file looks like this:
This is not a launcher or Unity bug. And it's still relevant for the latest Ubuntu version (13.04).
Take a look at the *.desktop file of jEdit (it's a text editor written in Java and ships in Ubuntu's universal repository).
First of all: create a copy of jedit.desktop and modify all the relevant entries. Most of them are relevant. :-) e-squirrel_ sql-client- Main"
Now the problematic entry is StartupWMClass. If you don't set up this correctly, Unity won't be able to "identify" the process/window that is launched by the executable specified by the "Exec" entry.
You can start up SQuirreL and use xprop to get the correct value. I'll help you: it's "net-sourceforg
So a proper squirrel.desktop file looks like this:
[Desktop Entry] SQuirreL SQL Client SQuirreLSQLClie nt/squirrel- sql.sh %U SQuirreLSQLClie nt/icons/ acorn.png Development; text/x- sql; net-sourceforge -squirrel_ sql-client- Main Programming; Java;SQL
Name=SQuirreL
GenericName=
Comment=Browse/edit SQL databases
Exec=/opt/
Icon=/opt/
Terminal=false
Type=Application
Categories=
StartupNotify=true
MimeType=
StartupWMClass=
Keywords=
(Of course assuming that SquirreL is install in /opt/SQuirreLSQ LClient)