Under /usr/share/applications I created:
intellij.desktop:
#!/usr/bin/env xdg-open[Desktop Entry]Version=1.0Type=ApplicationTerminal=falseExec=/path/To/idea.sh"Name[en_US]=IntellijName=IntellijIcon=/path/to/intellij.pngThen 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