- 创建桌面文件
touch myapp.desktop
- 编辑此文件写入一下内容
[Desktop Entry]
Name = myapp
Exec = /usr/bin/xxxx/xxx.sh
Icon = /usr/bin/xxxx/xxx.png
Type = Application
- 返回桌面 右键编辑这个文件,然后双击测试是否可以正常启动
touch myapp.desktop
[Desktop Entry]
Name = myapp
Exec = /usr/bin/xxxx/xxx.sh
Icon = /usr/bin/xxxx/xxx.png
Type = Application