Mandriva Linux Archives: cooker@mandrivalinux.org

Mandriva Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

  • From: Frederic Crozat
  • Subject: Re: [Cooker] Default file associations in GNOME, KDE 3 and KDE 4
  • Date: 8 Jan 2008 08:15:27 -0000

Le lundi 07 janvier 2008 Ã 20:16 +0100, Frederik Himpe a Ãcrit :
> This weekend I discovered an annoying problem in Mandriva 2008.0.
> Firefox was opening PDF files in kghostview, instead of KPDF. This was
> especially problematic because the PDF file I was viewing, was rendered
> correctly in kghostview but when printed, the result was completely
> wrong. Printing the file with KPDF worked perfectly fine.
> 
> In KDE itself, KPDF is the preferred PDF viewer. But Firefox, as a GTK+
> application, integrates in GNOME and hence it
> uses /usr/share/applications/defaults.list to determine the default
> application, while KDE uses the InitialPreference value defined in the
> desktop files itself (see
> http://wiki.mandriva.com/en/Development/Howto/Mimetypes#Associating_MIME_type_to_applications )
> 
> To fix this, I proposed to add kpdf
> to ï/usr/share/applications/defaults.list, after evince, so that it
> would be chosen instead of kghostview in a pure KDE installation.
> 
> Now I heard that KDE 4 will also use ïthe freedesktop.org defaults.list
> file to determine the default file associations. Does that mean, that
> even if oKular would be installed in KDE 4, because of the defaults.list
> file, KDE 4 would prefer to open PDF files in Evince if that one
> installed? Or is there a way, like we are doing for menus now, by
> defining some variable that it should use another defaults.list file?
> Ideally, Firefox would use this variable too then, so that in KDE 4 it
> would use KDE's default.list file, while in GNOME it uses GNOME's one.
> Does such a mechanism exist?

No.

And I guess it is going to be problematic, as always :(

-- 
Frederic Crozat <fcrozat@mandriva.com>
Mandriva



Date Index | Thread Index

Search the archive:



To (un)subscribe from/to the lists:

Sympa mailing lists server.





Fund the Mandriva Linux project

Looking for a job?