xdg-open opens normal web pages in Firefox, such as
xdg-open http://google.com. However, images do not. For example,
xdg-open https://i.imgur.com/JfKwovX.jpg opens the image in Gwenview. I tried setting Firefox as default for (all?) urls with
xdg-mime default firefox.desktop x-scheme-handler/http xdg-mime default firefox.desktop x-scheme-handler/https xdg-settings set default-web-browser firefox.desktop
However, this doesn't seem to work for
*.jpg urls. How can I make
xdg-open open all urls in Firefox?