Re: mime-type change?

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



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

Regards,

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@xxxxxxxxxxxxx
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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux