Syam Krishnan wrote:
Hi
Is there any way to make Firefox and other GTK (I think) applications
obey file associations set in a KDE environment? I have only KDE on my
machine and PDF files are set to open in Okular. But Firefox opens them
(when I select a file from its downloads list) using Gimp. In the past,
I vaguely remember seeing similar behaviour with some other GTK/Gnome
applications. Recently, I have started using a program called Zotero
that also has the same problem.
xdg-open foo.pdf works correctly and opens Okular.
I am not able to find a solution online.
this should generally work, but the answer is "it depends".
In this case, I think it's a bug in kde-settings which owns
/usr/share/applications/kde-mimeapps.list
It currently contains
application/pdf=kde4-okularApplication_pdf.desktop;
which is no longer correct, it should say
application/pdf=okularApplication_pdf.desktop
Mind filing a bug?
-- Rex