This seems to have been happening since Debian 12.
In spite of fourteen lines in /etc/xdg/mimeapps.list explicitly setting a different preferred app for image files, and that file being present on my debian 12 based qube, I get fricking ImageMagick when I open image files. [It won’t do slideshows, and (unforgivable) if I resize the window it distorts the image then wants me to save the distorted image. (And ctrl-drag and shift-drag don’t work…just in case someone wants to suggest that. Nor should I have to do that anyway.) Who wrote this piece of junk?]
It was working, now all of the sudden these lines are ignored. Something, somewhere is overriding my settings. Given that ImageMagick is tied to a lot of qubes features (for the love of God why?) to the point where I was strongly urged to not uninstall the damn thing, I suspect some change to something somewhere in the qubes code base, or perhaps some hard setting when debian-12-minimal was created, led to my being unable to override this.
The qube is a named disposable used for viewing (not editing) photgraphic images.
xdg-mime query default <somefilename>.jpg returns
xdg-mime query default image/jpeg returns
display-im6.q16.desktop in spite of an entry in /etc/xdg/mimeapps.list setting the app differently.
So is something in the debian 12 minimal template overriding mimeapps settings?