How to open compressed archives in Konqueror
An issue that I have with the default gNewSense-KDE 1 and 1.1 setup is the way that compressed archives are opened in Konqueror; or rather how they are not opened.
One of the glories of Konqueror is that it can display all sorts of files by calling on programmes such kpdf, Gwenview, Kaffeine etc.
Properly set up, Konqueror will open up tar, gzip, tar.gz, bz2 and zip files and you can browse them, look at files and copy from them in a similar way to normal directories. In the default setup of gNewSense-KDE, however, a separate instance of Ark is started with the compressed file opened in it.
Here are a couple of screen shots showing what I mean (click on the images for a larger version).
An archive opened in Ark.
An archive opened in Konqueror.
To make konqueror open up tar.gz,bz2,zip files instead of opening them in Ark.
Go to the following directory
/usr/share/kgnewsense-default-settings/kde-profile/default/share/mimelnk/application
In the following files:
- x-tar.desktop
- x-tarz.desktop
- x-tbz.desktop
- x-tgz.desktop
Replace the contents with the following:
[Property::X-KDE-LocalProtocol]
Type=QString
Value=tar
In the x-zip.desktop file replace the contents with:
[Property::X-KDE-LocalProtocol]
Type=QString
Value=zip