How to add icon when a linux's software has been installed

​ 在以下地址处创建需要的图标文件.desktop,或复制已有的其他软件图标文件进行更改。

​ Create or duplicate a icon file .desktop at the following address to edit related information.

Address:

/usr/share/applications

Icon file:

[Desktop Entry]
Encoding=UTF-8
Name=Typora
Type=Application
Comment=A Markdown language editor
#icon location
Icon=/home/dell/Typora-linux-x64/bin/Typora-linux-x64/resources/app/asserts/icon/icon_128x128.png
#executable program location
Exec=/home/dell/Typora-linux-x64/bin/Typora-linux-x64/Typora
Terminal=false
Categories=Application 
X-Desktop-File-Install-Version=0.15
Last modified: 2020年2月26日

Comments

Write a Reply or Comment

Your email address will not be published.