How can I register an
.appimage file (specifically, the tiled map editor found here) as a desktop app? (Like firefox -- I can launch it by typing 'Firefox' into search rather than opening up a console and typing
- asks for confirmation before creating desktop entry for an AppImage.
- works with AppImages in any location
- doesn't use a daemon for monitoring, so more efficient.
According to appimagekit, the proper method is to use
.AppImage file registration.
For 64-bit systems:
wget "https://github.com/AppImage/appimaged/releases/download/continuous/appimaged-x86_64.AppImage" chmod +x appimaged-x86_64.AppImage ./appimaged-x86_64.AppImage --install
The binary will copy itself to
/home/ubuntu/.local/bin/appimaged and then delete the downloaded copy upon install. Then you must logout and back in.
At time of reading, it will monitor and register the following locations:
~/Downloads ~/.local/bin ~/bin /Applications /isodevice/Applications /isofrom/Applications /run/archiso/img_dev/Applications /opt /usr/local/bin
To show in the menu, this assumes you've placed a desktop file in the correct location inside your
.AppImage file, usually
If you search in the application tray, you should find your application shortly. The daemon should also register any application-specific file associations assuming the mime xml is also bundled, usually
/usr/share/mime/packages/<myproject>.xml. If the icon does not appear correctly, you may have to logout and back in a second time. This can happen if the icon was incorrectly cached while testing out images.
Create a .desktop file that points to the application -- here is an example of a .desktop for minecraft:
[Desktop Entry] Type=Application Name=Minecraft Comment=Minecraft Icon=/home/bram/Applications/Minecraft/icon.png Exec=/home/bram/Applications/Minecraft/minecraft Terminal=false Categories=Minecraft;game
Put that file in ~/.local/share/applications