Linux创建桌面快捷方式
创建文本,写入如下内容
[Desktop Entry]
Name = Air Application
Name[zh_CN] = Air
Exec = sh /home/redefine/Desktop/LinuxShare/Air.sh
Path = /home/redefine/Desktop/LinuxShare/
Terminal = false
Type = Application
Icon = /home/redefine/Desktop/LinuxShare/Air_64.ico
后缀改为.desktop
sh文件 Run.sh
#!/bin/sh
dotnet /home/lsl/Downloads/linux-x64/LinuxTest.dll
注:提示权限不够需要执行如下
chmod +x Run.sh