Bug 221144 - .doc mime type is plane text in /usr/share/mime/packages/kde.xml
Summary: .doc mime type is plane text in /usr/share/mime/packages/kde.xml
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-03 20:01 UTC by Sasha Medvedev
Modified: 2010-01-09 00:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sasha Medvedev 2010-01-03 20:01:24 UTC
Version:            (using KDE 4.3.3)
Compiler:          gcc 4.3 
OS:                Linux
Installed from:    Gentoo Packages

I use thunar as file manager and some kde applications. I can't use different programs for my .doc and .txt files because of it is both plain text type in /usr/share/mime/packages/kde.xml. So can developers change .doc type to msword or something else?
Comment 1 David Faure 2010-01-08 17:28:04 UTC
This report oversimplifies the issue. *.doc is associated to _both_ text/plain and application/msword, so that the actual mimetype is determined based on the contents of the file.

Please check if "kmimetypefinder myfile.doc" finds the right mimetype for your .doc file. If that's the case, then it's a bug in thunar, which doesn't implement the resolution of conflicting globs properly (== as per the shared-mime-info standard).
Comment 2 Sasha Medvedev 2010-01-09 00:49:16 UTC
Thanks for reply. It really thunar bug, I've just found it: http://bugzilla.xfce.org/show_bug.cgi?id=6015.
kmimetypefinder myfile.doc works fine.