Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 977
Alex Luya Avatar asked Jan 20 '13 11:01

Alex Luya


1 Answers

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

like image 78
sumnulu Avatar answered Sep 22 '22 19:09

sumnulu