On Ubuntu 12.04 at least, firefox honors what is present as default at /usr/share/applications/defaults.list
If the application that is defined there is not present, then it picks the first one from /usr/share/applications/mimeinfo.cache which is build in random order. In our systems we use KDE, but evince was present in /usr/share/applications/defaults.list as the default app. Since evince was not installed on the system Firefox locked for another option on /usr/share/applications/mimeinfo.cache and GIMP was the first. Solution: replace evince with kde4-okularApplication_pdf and firefox will launch okular instead of GIMP. Example: application/pdf=kde4-okularApplication_pdf.desktop application/postscript=kde4-okularApplication_pdf.desktop application/x-cbr=kde4-okularApplication_pdf.desktop application/x-cbz=kde4-okularApplication_pdf.desktop application/x-gzpostscript=kde4-okularApplication_pdf.desktop -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/574342 Title: GIMP set as default pdf viewer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/574342/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
