[Libreoffice] LibreOffice file type associations for Flat ODF files

Dag Wieers dag at wieers.com
Thu Feb 2 02:02:14 PST 2012


On Tue, 6 Dec 2011, Jan Holesovsky wrote:

> On 2011-12-02 at 23:32 +0100, Dag Wieers wrote:
>
>> The installation of Libreoffice 3.4.4 still does not set the necessary
>> file type associations to make flat ODF files work with LibreOffice out
>> of the box (in e.g. Gnome on RHEL6 using the official RPM packages).
>>
>> There is a bug report about this since November 2010.
>>
>>      https://bugs.freedesktop.org/show_bug.cgi?id=31624
>>
>> What is required to make this part of the 3.5 release ?
>
> First - I'd try a daily build:
>
> http://dev-builds.libreoffice.org/daily/
>
> to see if it works in master.  If no, probably you have to dig around
> the mimetype registration:
>
> http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/mimetypes
>
> and other desktop files:
>
> http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/menus
>
> Interestingly I see the .fod* file types there, see eg.:
>
> http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/mimetypes/oasis-text-flat-xml.desktop
> http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/menus/writer.desktop
>
> Can you check if they are installed, used, etc.?

On 3.5RC2 the former is not installed, the later is installed fine. But I 
am not sure wether I added the relations myself, or not.

So I just tested on a clean RHEL6:

 	3.4.4 -> Does not work
 	3.4.5 -> Does not work
 	3.5RC2 -> Does not work

The default relation is firefox (I guess because it is deemed an XML 
file), other associations are: gedit, Google Chrome en gvim :-/

On LibO 3.4 I installed the desktop-integration RPM for redhat, for LibO 
3.5 this was merged with the freedesktop RPM, but still does not make a 
difference :-( The RPM does execute update-desktop-database and 
update-mime-database, but the associations are not there.

It's obvious that the mimetypes are missing, the RPM does install 
/usr/share/mime/packages/libreoffice3.5.xml, but it does not include the 
flat-xml or .fod? mimetypes :-(

-- 
-- dag wieers, dag at wieers.com, http://dag.wieers.com/
-- dagit linux solutions, info at dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]


More information about the LibreOffice mailing list