Java application launcher not staying in Unity launcher

This is a problem in all JetBrain IDEs. In PyCharm (the one that I use) it's solved in the 2.0 version. It's likely solved in the corresponding IntelliJ version (likely 11, but I'm not sure).

You will need to go into the Tools Menu and select Create Desktop Entry. It will create a correct Desktop file in the correct place, so it will be added to your DE menu (including Unity Dash). Afterward you can initiate it from the menu and pin the icon or drag and drop it to the bar.

Note that the menu names are those in PyCharm as I don't use IntelliJ, but they are likely the same.


This .desktop file worked for me, using IntelliJ 11:

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=/home/mizu/Programs/IntelliJ/bin/idea_CE128.png
Exec=/bin/sh /home/mizu/Programs/IntelliJ/bin/idea.sh
Name=IntelliJ
StartupNotify=true
StartupWMClass=jetbrains-idea-ce