Skip to main content

App Register

将 AppImage 注册为桌面应用​

1. 移动并设置 AppImage 权限​

mkdir -p ~/Applications
mv Snipaste-2.11.3-x86_64.AppImage ~/Applications/
chmod +x ~/Applications/Snipaste-2.11.3-x86_64.AppImage

2. 创建桌面应用配置​

nano ~/.local/share/applications/snipaste.desktop

在文件中写入:

[Desktop Entry]
Name=Snipaste
Comment=Screenshot and clipboard tool
Exec=/home/YOUR_USERNAME/Applications/Snipaste-2.11.3-x86_64.AppImage
Terminal=false
Type=Application
Categories=Utility;

3. 更新桌面应用数据库​

update-desktop-database ~/.local/share/applications/