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
- References:
- [Cooker] Default file associations in GNOME, KDE 3 and KDE 4
- From: Frederik Himpe
- [Cooker] Default file associations in GNOME, KDE 3 and KDE 4
- Prev by Date: Re: [Cooker] Re: [PATCH REVIEW] mkinitrd, lvm, UUID
- Next by Date: [Cooker] urpmi/rpm attempt to access beyond end of device ??
- Previous by thread: [Cooker] Default file associations in GNOME, KDE 3 and KDE 4
- Next by thread: [Cooker] Re: [RPM] cooker contrib/release kernel-tmb-2.6.24-0.rc7.1mdv2008.1
- Index(es):
Search the archive:
To (un)subscribe from/to the lists:
Fund the Mandriva Linux project
