- 创建桌面文件
touch myapp.desktop
- 编辑此文件写入一下内容
[Desktop Entry]
Name = myapp
Exec = /usr/bin/xxxx/xxx.sh
Icon = /usr/bin/xxxx/xxx.png
Type = Application
- 返回桌面 右键编辑这个文件,然后双击测试是否可以正常启动
tisp:记得x权限
来自:https://www.jianshu.com/p/c3486d0a91e4
2023-07-30 21:52:46
touch myapp.desktop
[Desktop Entry]
Name = myapp
Exec = /usr/bin/xxxx/xxx.sh
Icon = /usr/bin/xxxx/xxx.png
Type = Application
tisp:记得x权限
来自:https://www.jianshu.com/p/c3486d0a91e4