Linux中给任意软件创建桌面链接

.desktop 文件基本上就是一个包含程序信息的纯文本文件,通常根据是自己可见还是所有用户可见的不同而放在
~/.local/share/applications 或者
/usr/share/applications/ 目录中。

[Desktop Entry]
Name=firefox-56
GenericName=Web Browser-Firefox OS
Exec=/home/wons/ToolBox/Software/Firefox/firefox-56.0/firefox/firefox %u
Terminal=false
Type=Application
Icon=/home/wons/ToolBox/Software/Firefox/firefox-56.0/firefox/browser/icons/mozicon128.png
Categories=GNOME;GTK;Network;WebBrowser;
[Desktop Entry]
Type=Application
Name=Thunderbird
GenericName=Thunderbird-78.7.1
Comment=Thunderbird: The email manager
Exec=/home/wons/ToolBox/Software/thunderbird/thunderbird %f
Icon=/home/wons/ToolBox/Software/thunderbird/chrome/icons/default/default256.png
Terminal=false
Categories=X-Application
原文地址:https://www.cnblogs.com/hencins/p/14446006.html