appimaged is an optional daemon that watches locations like
~/Downloads for AppImages and if it detects some, registers them with the system, so that they show up in the menu, have their icons show up, MIME types associated, etc. It also unregisters AppImages again from the system if they are deleted. If firejail is installed, it runs the AppImages with it.
A precompiled version can be found in the last successful Travis CI build, you can get it with:
# Get the ID of the last successful build on Travis CI
ID=$(wget -q https://api.travis-ci.org/repos/probonopd/appimagetool/builds -O - | head -n 1 | sed -e 's|}|\n|g' | grep '"result":0' | head -n 1 | sed -e 's|,|\n|g' | grep '"id"' | cut -d ":" -f 2)
# Get the transfer.sh URL from the logfile of the last successful build on Travis CI
URL=$(wget -q "https://s3.amazonaws.com/archive.travis-ci.org/jobs/$((ID+1))/log.txt" -O - | grep "https://transfer.sh/.*/appimaged" | tail -n 1 | sed -e 's|\r||g')
Usage in a nutshell:
It will register the AppImages in with your system from the following places:
appimaged -v for increased verbosity.
NOTE: It may be necessary to restart (or
xkill) dash, nautilus, to recognize new directories that didn't exist prior to the first run of
appimaged. Alternatively, it should be sufficient to log out of the session and log in again after having run appimaged once.
If you have
AppImageUpdate on your
$PATH, then it can also do this neat trick:
Here is an easy way to get the latest AppImageUpdate onto your
nodeFileName=$(wget -q "https://bintray.com/package/files/probono/AppImages/$APP?order=desc&sort=fileLastModified&basePath=&tab=files" -O - | grep -e '-x86_64.AppImage">' | cut -d '"' -f 6 | head -n 1)
wget -c "https://bintray.com/$nodeFileName" -O "$APP"
chmod a+x "$APP"
sudo mv "$APP" /usr/local/bin/
NOTE: This works only with the new, squashfs-based type 2 AppImages so far.