Package: libkmime4 Version: 4:4.6.5-1 Severity: minor Tags: patch I have a bunch of .vdi files as my virtual disks for virtualbox. Normally these should be attributed the mimetype x-virtualbox-vdi, however they are interpreted by kde as being plain text.
Interestingly, the mimetype command responds with the proper mime type, unless mime type attribution through file extension is switched off using the -M option. This seems to be a case where libkmime4 fails to fall back to detecting mime type based on extension when failing to analyze the contents of a file. Hence, this could be a more general issue. However I have not detected any other improper mime type detection on my system. I worked around this by adding the following to /usr/share/mime/packages/virtualbox.xml < <magic priority="100"> < <match type="string" offset="0:200" value="VirtualBox Disk Image"/> < </magic> -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (50, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.3.0-rc2-maze-20120223-01+ (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libkmime4 depends on: ii libc6 2.13-26 ii libgcc1 1:4.6.2-12 ii libkdecore5 4:4.6.5-2+b1 ii libqtcore4 4:4.7.4-2 ii libstdc++6 4.6.2-12 libkmime4 recommends no packages. libkmime4 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120301194149.15990.61749.reportbug@sherka