How to add appimage to desktop

I successfully used balena etcher appimage in EndlessOS by giving the appimage execute right with chmod u+x balenaEtcher-1.18.4-x64.AppImage and executing it then on the command line.

I would like to add it to my utilities folder in gnome-shell. How can I do this?

You’ll have to put a corresponding .desktop file into ~/.local/share/applications and make sure that it has the proper permissions and attributes. As an example, i show the one i use for doing my backups.

Desktop entry file

~/.local/share/applications/backup.desktop:

[Desktop Entry]
Name=Backup to USB 
Type=Application
Categories=System
Terminal=true
Icon=drive-harddisk
Exec=/home/egon/backup/backup.sh

Except for the Icon key, the file should be self-explanatory. Icon refers to a standard icon or can be a absolute path to a PNG/JPG image. For a exhaustive description of the desktop file format, please refer to https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html

Permissions

Run the following two commands:
chmod +x ~/.local/share/applications/backup.desktop
gio set ~/.local/share/applications/backup.desktop metadata::trusted yes

Thanks a lot, Egon, it works as desired.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.