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 Desktop Packages, which is subscribed to gimp in Ubuntu. https://bugs.launchpad.net/bugs/574342 Title: GIMP set as default pdf viewer Status in “gimp” package in Ubuntu: Confirmed Bug description: Binary package hint: gimp After installing GIMP on Lucid, GIMP became the default application to open PDF files, instead of evince. While GIMP can open PDF files, this surely is not what most people want. Please fix this. May be related to debian bug #525077, but I am not sure. In any case, /usr/share/applications/mimeinfo.cache contains application/pdf=gimp.desktop;evince.desktop; To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/574342/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

