Eg : Android Studio
vim /usr/share/applications/Studio.desktop

内容:


[Desktop Entry]
Name = Studio
comment= android studio
Exec=/home/yyb/tools/android/android-studio/bin/studio.sh
Icon=/home/yyb/tools/android/android-studio/bin/idea.png
Terminal=false
Type=Application