1 创建.desktop文件
[Desktop Entry]
Type=Application
Name=YourAppName
Exec=/path/to/your/YourAppName.AppImage (也可以是其他binary)
Icon=/path/to/your/icon.png
Categories=Utility;
Terminal=false
[Desktop Entry]
Type=Application
Name=YourAppName
Exec=/path/to/your/YourAppName.AppImage (也可以是其他binary)
Icon=/path/to/your/icon.png
Categories=Utility;
Terminal=false
[Desktop Entry] Type=Application Name=YourAppName Exec=/path/to/your/YourAppName.AppImage (也可以是其他binary) Icon=/path/to/your/icon.png Categories=Utility; Terminal=false
2 移动和权限
sudo mv ~/YourAppName.desktop /usr/share/applications/
sudo chown root:root /usr/share/applications/YourAppName.desktop
sudo mv ~/YourAppName.desktop /usr/share/applications/
sudo chown root:root /usr/share/applications/YourAppName.desktop
sudo mv ~/YourAppName.desktop /usr/share/applications/ sudo chown root:root /usr/share/applications/YourAppName.desktop
然后在Launcher中就有了,也可以根据需求固定在Dock上