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:
You can use "tools" > "create desktop entry", in IntelliJ itself.