KDE jar MIME is application/zip?

Asked by Andrew

I am trying to find out why KDE has the incorrect MIME type for *.jar files.

gnome apps (like nautilus) and xfce4 apps (like thunar) correctly interpret the jar files as application/java-archive. However, KDE thinks that jar files are application/zip.

The configuration all looks correct:
grep -RI '\*.jar' /usr/share/mime
/usr/share/mime/globs:application/x-java-archive:*.jar
/usr/share/mime/globs:application/java-archive:*.jar
/usr/share/mime/globs:application/java-archive:*.jar
/usr/share/mime/packages/freedesktop.org.xml: <glob pattern="*.jar"/>
/usr/share/mime/packages/sun-java6-jre.xml: <glob pattern="*.jar"/>
/usr/share/mime/packages/sun-java5-jre.xml: <glob pattern="*.jar"/>
/usr/share/mime/globs2:50:application/x-java-archive:*.jar
/usr/share/mime/globs2:50:application/java-archive:*.jar
/usr/share/mime/globs2:50:application/java-archive:*.jar

I have looked in all the mime directories that I know of, including my ~/.kde directory and the KDE mime type configuration, and nowhere that I can tell is jar ever associated with application/zip.

Since xfce and Gnome are correct, it leads me to believe the configuration is in a KDE specific directory (like ~/.kde/share/mimelnk/), but I have not found anything. Even the magic files don't seem to be the problem as they use application/x-zip not application/zip.

Where could KDE possibly be pulling the zip association from?

I have tested this on konqueror, krusader & dolphin, all show the application/zip as the mime type (which by the way has only *.zip and *.ZIP listed as glob patterns).

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Andrew (andrew-rw-robinson) said :
#2

I am still having this problem and do not know where KDE is getting its own association from

Revision history for this message
Andrew (andrew-rw-robinson) said :
#3
Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.