So I have an application (Aseprite) that I have as an AppImage which I want to show up in Nautilus’ “Open with…” context menu for image files.I have the following desktop file (in ~/.local/share/applications):
[Desktop Entry]
Name=Aseprite
Exec=/home/<my username>/Applications/Aseprite.AppImage
Icon=aseprite
Type=Application
Terminal=false
Categories=Graphics;2DGraphics;
MimeType=image/x-aseprite;image/png;image/jpeg;image/bmp;image/gif;
I also added the MIME Type file defining image/x-aseprite (from here: aseprite/src/desktop/linux/mime/aseprite.xml at main · aseprite/aseprite · GitHub ), updated the MIME database, updated the desktop database. Aseprite shows up nicely in the launcher, and it shows up as the default application for .aseprite files; however, it doesn’t show up at all in the “Open with…” menu of other image files (e.g. png).
What’s interesting is that it does show up if I set it as the default application with gio mime image/png aseprite.desktop, but once I set Loupe back as the default, it disappears.
I checked ~/.config/mimeapps.list and it is there:
[Added Associations]
image/png=aseprite.desktop;org.gnome.Loupe.desktop;
but still nothing.
It does show up as a registered application for the MIME type!
$ gio mime image/png
Default application for “image/png”: org.gnome.Loupe.desktop
Registered applications:
aseprite.desktop
firefox.desktop
gimp.desktop
org.gnome.Loupe.desktop
Recommended applications:
aseprite.desktop
firefox.desktop
gimp.desktop
org.gnome.Loupe.desktop
I’m honestly at a loss here. Any ideas?