Ubuntu / Deepin add a desktop icon

ubuntu all applications are in / usr / share / applications in which each application has its own .desktop file, which is the application of a number of statements, we can write the following desktop files to achieve the desired effect.

[Desktop Entry]
Encoding=UTF-8
Name=phpstorm IDE
Comment=The Smarter Way to Code
Exec=/bin/sh "/home/rovast/Software/PhpStorm-182.4129.45/bin/phpstorm.sh"
Icon=/home/rovast/Software/PhpStorm-182.4129.45/bin/phpstorm.png
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0

Guess you like

Origin www.cnblogs.com/liuqd001/p/12014329.html