Search code examples
ubuntuintellij-ideaubuntu-unity

Intellij launcher doesn't work on unity?


Under /usr/share/applications I created:

intellij.desktop:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/path/To/idea.sh"
Name[en_US]=Intellij
Name=Intellij
Icon=/path/to/intellij.png

Then I drag it to the Unity launcher bar. I click it, but nothing happens. How can I make it work?

JAVA_HOME is set correctly, other Java apps (like Eclipse) work and click idea.sh.


My configuration:

  • Ubuntu 12.10 64-bit (Desktop)
  • Oracle JDK 1.7
  • IntelliJ Community 12

Solution

  • You can use "tools" > "create desktop entry", in IntelliJ itself.