Red Hat Bugzilla – Bug 187735
fedora-abiword.desktop uses wrong mime type for MS Word files
Last modified: 2007-11-30 17:11:29 EST
Description of problem:
The MimeType= line in /usr/share/applications/fedora-abiword.desktop mentions
"application/vnd.ms-word", but not "application/msword". Therefore,
double-clicking an MS Word document (*.doc file) in nautilus does not open
abiword, even if abiword is the only word processor installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure abiword is installed, but no other word processor.
2. Double-click on a MS Word document in nautilus.
A dialog with an error message like the following is displayed:
Couldn't display "/home/levin/foo.doc".
The file is opened in abiword.
As far as I can tell, the correct file type for MS Word documents is
"application/msword" (see here:
http://www.iana.org/assignments/media-types/application/msword). This is also
what /usr/share/mime/packages/freedesktop.org.xml assigns to *.doc files. After
I replaced "application/vnd.ms-word" with "application/msword" in
/usr/share/applications/fedora-abiword.desktop and ran
# update-desktop-database -q /usr/share/applications
, nautilus opened word documents with abiword. I've attached a path with this
change, although it's kinda trivial.
Created attachment 127229 [details]
make /home/levin/fedora-abiword.desktop.patch use the correct mime type for MS Word documents
Thanks, fixed upstream; will be in the next release.