[CentOS] Re: mime-type change?

James B. Byrne byrnejb at harte-lyne.ca
Tue Jun 5 14:35:58 UTC 2007

On Mon, June 4, 2007 11:23, James B. Byrne wrote:
> I have a recently (last Friday) updated CentOS 4.5 desktop running OOo 2.2
> that, since this morning, displays OpenOffice .odt files as
> application:x-java-archives and has replaced the open office icon on my
> desktop with the java icon for these files.

This problem is caused by neither CentOS nor OpenOffice but by the recent
Java 6 update which has a typo in
/usr/share/mime/packages/x-java-archive.xml.  To fix this add the missing
leading "<" before:

- match type="host16" value="0xcafe" offset="40"/>
+ <match type="host16" value="0xcafe" offset="40"/>

on or about line 35, save and then update the mime database with:

# update-mime-database /usr/share/mime


***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

More information about the CentOS mailing list