I'm using IntelliJ IDEA, which is a Java application. When it runs (invoked through Dash) it shows a launcher icon with no name. I've tried several times to right-click and select "keep in launcher", but no success - each time I close it the launcher icon disappears. I tried to use MyUnity to fix this, but it also fails. I don't mind hacking this manually, but I don't know where the launcher configs are stored or what to do.
The relevant desktop file is shown below, and it works with the dash perfectly.
[Desktop Entry]
Type=Application
Name=IntelliJ IDEA
Comment=IntelliJ Integrated Development Environment
Icon=/opt/IntelliJ-IDEA-11/bin/idea48.png
Exec=/opt/IntelliJ-IDEA-11/bin/idea.sh
Terminal=false
StartupWMClass=Intellij_IDEA
Categories=Development;IDE;Java;