1. 程式人生 > >建立Ubuntu桌面圖示

建立Ubuntu桌面圖示

建立Idea.desktop

$ sudo gedit idea.desktop

[Desktop Entry]
Name=IdeaIU
Comment=IdeaIU
Exec=env JAVA_HOME=/usr/lib/jvm/java-8-oracle /opt/idea-IU-171.4694.70/bin/idea.sh
Icon=/opt/idea-IU-171.4694.70/bin/idea.png
Terminal=false
Type=Application
Categories=Application;Development;