[Virtual-pkg-base-maintainers] Bug#795703: 795703 bug

G G pcdoctor01 at hotmail.com
Sun Aug 16 12:03:48 UTC 2015


Detalied problem and fix:

Dolphin showing .ISO file as text and opens in Kate or Kwrite.
To duplicate this problem, download the three ISO files below:

dban-2.3.0_i586.iso shows as normal in Dolphin.
http://sourceforge.net/projects/dban/files/dban/dban-2.3.0/dban-2.3.0_i586.iso/download

xubuntu-14.04.3-desktop-i386 shows as text in Dolphin.
http://mirror.us.leaseweb.net/ubuntu-cdimage/xubuntu/releases/14.04/release/xubuntu-14.04.3-desktop-i386.iso

gparted-live-0.23.0-1-i586 shows as text in Dolphin.
http://downloads.sourceforge.net/gparted/gparted-live-0.23.0-1-i586.iso


open terminal
edit the freedesktop.org.xml file below the x-cd-image entry
kdesudo kate /usr/share/mime/packages/freedesktop.org.xml


Freedesktop.org.xml before:
<sub-class-of type="application/x-raw-disk-image"/>
    <alias type="application/x-iso9660-image"/>
    <glob pattern="*.iso"/>
    <glob pattern="*.iso9660"/>
  </mime-type>


Freedesktop.org.xml after:
<sub-class-of type="application/x-raw-disk-image"/>
    <alias type="application/x-iso9660-image"/>
    <glob weight="80" pattern="*.iso"/>
    <glob pattern="*.iso9660"/>
  </mime-type>


save the xml file
update the mime database
sudo update-mime-database /usr/share/mime
reboot computer
You should now be able to view ISO files as normal.


More information about the Virtual-pkg-base-maintainers mailing list