Dear Maintainer, I changed the default application using xdg-mime. But xdg-open does not use this: % xdg-mime default ristretto.desktop images/png % xdg-mime query default images/png ristretto.desktop % xdg-open images.png Opening "images.png" with Geeqie (image/png) However changing the default with `mimeopen -d` is working: % mimeopen -d images.png Please choose a default application for files of type image/png 1) Geeqie (geeqie) 2) GNU Image Manipulation Program (gimp) 3) Ristretto Image Viewer (ristretto) 4) ImageMagick (display) (display.im6) 5) Iceweasel (iceweasel) 6) Feh (feh) 7) Other... use application #3 Opening "images.png" with Ristretto Image Viewer (image/png) % xdg-open images.png Opening "images.png" with Ristretto Image Viewer (image/png) I'm not running any desktop environment. Regards Eike
retitle 711031 "xdg-mime default" should warn on unknown typ[eo]s
severity 711031 wishlist
thanks
J. Eike von Seggern schrob:
^
The correct MIME type is image/png, without the plural "s". It should
work if you do it that way.
^^^^^^^^^
See here as well.
It would be nice if xdg-mime default had warned you about the
misspelling. It can't error out, because in principle images/png
could be a valid MIME type as well.
I'm adjusting the bug to a corresponding wishlist bug, please complain
again here if for for some reason it doesn't work with
"xdg-mime default ristretto.desktop image/png".
regards,
Jan