Version: 0.20 (using KDE 3.1.9) Compiler: gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) OS: Linux (i686) release 2.4.21-0.18mdk If you go to KDE Components -> File Association and in application/postcript you add *.ps.gz to Filename Patterns, KGhostview refuses to load any *.ps.gz file saying it can only open ps and pdf files. If the association is not done KGhostiew is able to open .ps.gz files but it sucks because you can't open them directly clicking in konqueror.
This is a tricky one. The problem is that we can only have one mimetype per file something like .ps.gz is more than that. It should be opened by kghostview, but kghostview should recognize it as a gzipped file and gunzip it. If we classify it as application/x-gzip then it gets opened by ark (not good). If we classify it as application/postscript then kghostview doesn't realise it is compressed. Any thoughts, anyone?
We should be able to tag them as "application/postscript; compression=gzip".
*** Bug 65707 has been marked as a duplicate of this bug. ***
I think "application/postscript; content-encoding=application/x-gzip", or somethink like this. This would better reflect the standard headers sent by http servers.
Content-Encoding is a different MIME header than Content-Type, but that would be acceptable as well. Note: Content-Encoding: gzip (not application/gzip) Anyways, this requires support in kdelibs that doesn't exist yet. KGhostview can have a workaround for this for the time being.
umm, goes deeper than it appears, of course ;)
Ok, kghostview is sort of enabled to open *.gz (and *.bz2) files and the application/x-gzpostscript mimetype just introduced handles *.ps.gz files. I am closing this bug here since the real solution which was hinted to here is to be done at kdelibs level. In the meanwhile clicking on a *.ps.gz does open kghostview which does open the file. regards, luis