User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070719 Iceweasel/2.0.0.5 (Debian-2.0.0.5-2) Build Identifier: Hello, when I open .gz files, xarchiver wants to extract it. Is it possible to view the content of the file instead? (if it's a text file for instance) Reproducible: Always
The problem is that bzip doesn't have an option to display the content of the file. How to fix this behaviour?
(In reply to comment #1) > The problem is that bzip doesn't have an option to display the content of the > file. How to fix this behaviour? > I don't understand. xarchiver can view the content of a text file in a .tar.gz archive. How is it different with simple .gz? I'm not the developer but it could be done extracting the file temporarily, or with zcat or gunzip -c. Why did you say bzip btw, isn't it gzip? Something unrelated, I tried to view in xarchiver a jpeg file in a rar archive and got: (xarchiver:9268): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed I guess it tried to view it as a text file.
(In reply to comment #2) > How is it different with simple .gz? I'm not the developer but it could be done > extracting the file temporarily, or with zcat or gunzip -c. > Why did you say bzip btw, isn't it gzip? Yes, this is the best solution. I will implement it as soon as archive navigation I'm currently implementing works perfectly. > Something unrelated, I tried to view in xarchiver a jpeg file in a rar archive > and got: > (xarchiver:9268): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion > `g_utf8_validate (text, len, NULL)' failed > > I guess it tried to view it as a text file. Yes. That function works only on text files.
Fixed in r26108.