例如需要创建雷鸟的桌面图标
目录: /usr/share/applications/
创建 ThunderBird.desktop文件,并且chmod 777 ThunderBird.desktop
格式:
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Categories=internet;
Type=Application
Name=ThunderBird
GenericName=ThunderBird
Exec=/usr/bin/thunderbird/thunderbird
Terminal=false
Icon=/usr/bin/thunderbird/chrome/icons/default/default256.png
StartupNotify=true
Actions=Window;Document;
X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher
X-Deepin-AppID=ThunderBird