Setting defaults for xdg-open

On Arch Linux, xdg-open has always opened pdf files for me in GIMP, which is pretty annoying. It turns out it's easy to correct:

xdg-mime default firefox.desktop application/pdf

You can then verify it worked with xdg-mime query default application/pdf.

2020-May-23