在 /usr/share/applications
下我创建了:
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
然后我将它拖到 Unity 启动器栏。我点击它,但没有任何反应。我怎样才能让它发挥作用?
JAVA_HOME
设置正确,其他 Java 应用程序(如 Eclipse)可以运行并单击 idea.sh
。
我的配置:
- Ubuntu 12.10 64 位(台式机)
- 甲骨文 JDK 1.7
- IntelliJ 社区 12
最佳答案
您可以在 IntelliJ 本身中使用“工具”>“创建桌面条目”。
关于ubuntu - Intellij 启动器不能统一工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14424254/