When using KDE use-flag with openoffice-ximian (to get KDE integration), the mimelnk-information is conflicted - causing wrong behavior in KDE. For writer, things are like this, examples apply to others as well: /usr/share/mimelnk/application/vnd.sun.xml.writer.desktop Which contains stuff like: [Desktop Entry] Version=0.92 Encoding=UTF-8 Hidden=false Icon=ooo_writer.xpm Type=MimeType Patterns=*.sxw MimeType=application/vnd.sun.xml.writer Comment=<productname> Text Document [...] /usr/kde/3.4/share/mimelnk/application/vnd.sun.xml.writer.desktop, on the other hand, contains [Desktop Entry] Encoding=UTF-8 Comment=OpenOffice.org Text Document MimeType=application/vnd.sun.xml.writer Type=MimeType Icon=wordprocessing Patterns=*.sxw;*.SXW; [Property::X-KDE-NativeExtension] Type=QString Value=.sxw The correct one is the one under /usr/kde. For some reason, KDE chooses to use the one under /usr/share. This means that in konqueror, XOO files appear without their icons, and they appear as type "<productname> text document". This has been tested with Xoo-1.3.9, 1.3.10 and 1.3.11. KDE 3.3 and KDE 3.4. Steps to reproduce: Install openoffice-ximian with +KDE. For now, I can fix the problem simply by removing all vnd.sun.xml-files from /usr/share/mimelnk/application, but I think this is not the "correct" way to do it. Is the problem with XOO or with KDE? Ie should I somehow tell KDE that stuff under /usr/kde has preference over /usr/share?
The files under /usr/share are created by the openoffice-ximian ebuild. The "correct" solution is probably to fix the openoffice-ximian ebuild to put either correct files under /usr/share or just omit them entirely (given that the +kde flag is on.)
As it seems KDE is now taking care of the mimetype stuff itself and the solution we had was ugly anway: Have removed this now from openoffice, openoffice-bin and openoffice-ximian. Thanks for reporting, closing