Bug 221144

Summary: .doc mime type is plane text in /usr/share/mime/packages/kde.xml
Product: [I don't know] kde Reporter: Sasha Medvedev <Sasha.Medvedev>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: faure, Sasha.Medvedev
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

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.