Friday, March 28, 2008

How to browse ISO disk images with KDE

Today I'm writing about something interesting I found some day ago.
KDE is able to browse ISO images directly, without mounting them. So if you have a CDROM image suitable for recording, you can browse it with a click!
Anyway, this functionality depends on the iso:// URL format.
So if you have, for instance, a file named disk.iso in /tmp, you can browse it by typing iso:/tmp/disk.iso in the address bar of konqueror.
Anyway, you have to explicitly type this URL in the address bar. With a trick, instead, we will be able to browse images by simply clicking on their icon, just as what happens when compressed files.
To do this, there is a simple way. The simple way, download this file and copy it in ~/.kde/share/mimelink/applications.
Or, even better, copy the file /opt/kde3/share/mimelnk/application/x-iso.desktop
in ~/.kde/share/mimelink/applications.Then, open it with a text editor (vi, jEdit, your choice anyway) and add these few lines at the end of it:

[Property::X-KDE-LocalProtocol]
Type=QString
Value=iso

Now, reboot kde, and try opening a .iso file. Konqueror will transparently browse through it!

1 comment:

Anonymous said...
This comment has been removed by a blog administrator.