I'm unable to figure out why Firefox is opening PDF files in LibreOffice. This happens when I open the file in the downloads view (the little down area on the toolbar).

When I first click on a PDF it correctly asks me to save the file -- I've set this option in the preferences. But when I click to open the downloaded file it uses LibreOffice.

If I use Dolphin (KDE file browser) and click on the file it correctly opens the file with Okular.

I don't know where Firefox is getting the PDF -> LibreOffice association for downloaded files.

I've attempted the solutions listedn in Firefox application associations not working in the 'Downloads' window and they are not working for me.

  • Run xdg-mime default okular.desktop application/pdf, let me know if it worked. – Ravexina Sep 19 '18 at 8:47
  • @Ravexina No, it did not appear to change it. I restarted Firefox to be certain. – edA-qa mort-ora-y Sep 19 '18 at 10:06
  • @edA-qamort-ora-y did you find a solution meanwhile? – bonanza Jul 30 '19 at 6:56
  • 1
    @bonanza I did not find the reason. I ended up deleting my Firefox profile, cache, and data directories. With a fresh profile it works. – edA-qa mort-ora-y Jul 30 '19 at 10:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.