Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

MIME Type Mismatch?

MIME Type Mismatch?

MIME Type Mismatch?

Hi, I'm currently running on Fedora Core 6, but I've noticed this problem on Core 5 as well...

Sometimes when I double-click on a file to open it, it pops up an error message about the types not matching up. For instance, when I double-click to open an OpenOffice file, I get this message:


Cannot open IT116.odt

The filename "IT116.odt" indicates that this file is of type "ODT document". The contents of the file indicate that the file is of type "Java Archive". If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "Java Archive", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.


I've also gotten a similar error with ZIP files, with it mistaking them for Java Archives.

I've also run into this problem with Windows EXE files, which would run under WINE. In that case, it says that the file extension is of type "Executable" but the content suggests it's of type "Application/DOS Executable" or something along those lines.

Is there any way to make Linux stop doing this? It should just go by the file extension, and only come up with a type based on the content if there is no extension.

Cuvou.com | The NEW Kirsle.net

RE: MIME Type Mismatch?

I found /usr/share/application-registry/gnome-vfs.applications
which belong to the gnome-mime-data package that seems to have information about applications and their mime types. You could try editing this file manually to see if it fixes your problem.

--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--

RE: MIME Type Mismatch?

I couldn't find anything in that file that would relate to this problem...

I googled some of the error text, and the most common theory as to what this is, is its somehow a bug with Nautilus... apparently on KDE this kind of thing never happens. However, I haven't found any useful info on Google about how to get rid of it, or if Nautilus has ever fixed the bug yet.

Cuvou.com | The NEW Kirsle.net

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close