how do I change xdg-open default application 08 October 2019, 19:09:59 how do I change xdg-open default applicationI have no DE so it should default to xdg settings. I can't find them. pdf files are opened with the GIMP which is throughly useless.xdg-mime default okular.desktop application/pdf that doesn't work.
Re: how do I change xdg-open default application Reply #1 – 19 October 2019, 08:35:44 Hi, I use qpdfview, so I solved this by manually adding:Code: [Select]application/pdf=qpdfview.desktopto .local/share/applications/mimeapps.list. 2 Likes
Re: how do I change xdg-open default application Reply #2 – 11 January 2020, 10:54:03 The correct name for okular is "okularApplication_pdf.desktop":Code: [Select]xdg-mime default okularApplication_pdf.desktop application/pdfThis works for me in Arch Linux with sway.If you don't use an desktop environment this could be your problem: https://wiki.archlinux.org/index.php/Xdg-utils#xdg-openThis should work, too: https://sakhnik.com/2018/12/10/xdg-open-pdf.html (AUR)PS: I don't use Artix, I just found this post because I had the exact same problem, so it might be helpful to someone else. Difficult to get an account here, btw.
Re: how do I change xdg-open default application Reply #3 – 11 January 2020, 22:49:48 Quote from: carl – on 11 January 2020, 10:54:03PS: I don't use Artix, I just found this post because I had the exact same problem, so it might be helpful to someone else. Difficult to get an account here, btw.That was due to a series of spam attacks, perhaps we should relax the admission rules. Thanks for taking the time to help, that's the true opensource community spirit.