Re: [Thunar-dev] svgz thumbnails on Thunar
Hi Benedikt. Benedikt Meurer, 02.08.2007 12:16: > Mathias Brodala wrote: > $ gzip -S z graphic.svg > $ file -i graphic.svgz > graphic.svgz: application/x-gzip >>> Yep, on my machine files with the svgz extension come up as >>> image/svg+xml-compressed ... >> Well, on your machine. That it doesn’t happen here should be enough reason >> for >> research before implementation. Did you also use "file -i" to get the MIME >> type? > > file doesn't use the shared mime database and Thunar doesn't use file, > so we don't need to care about that. Ah, I see. Thunar’s file properties indeed show image/svg+xml-compressed here, too. Regards, Mathias -- debian/rules signature.asc Description: OpenPGP digital signature ___ Thunar-dev mailing list Thunar-dev@xfce.org http://foo-projects.org/mailman/listinfo/thunar-dev
Re: [Thunar-dev] svgz thumbnails on Thunar
Mathias Brodala wrote: $ gzip -S z graphic.svg $ file -i graphic.svgz graphic.svgz: application/x-gzip >> Yep, on my machine files with the svgz extension come up as >> image/svg+xml-compressed ... > > Well, on your machine. That it doesn’t happen here should be enough reason for > research before implementation. Did you also use "file -i" to get the MIME > type? file doesn't use the shared mime database and Thunar doesn't use file, so we don't need to care about that. > Regards, Mathias Benedikt ___ Thunar-dev mailing list Thunar-dev@xfce.org http://foo-projects.org/mailman/listinfo/thunar-dev
Re: [Thunar-dev] svgz thumbnails on Thunar
Hi Erlend. Erlend Davidson, 02.08.2007 11:29: > > Mathias Brodala wrote: >> Stephan Arts, 01.08.2007 23:47: >> >>> On 8/1/07, Erlend Davidson <[EMAIL PROTECTED]> wrote: >>> On 30 Jul 2007, at 21:45, Andre Barros wrote: > Does anyone get svgz images thumbnails on Thunar? Asking that > because I could not get them to be displayed on CentOS 5 and > Slackware 12. svg images are fine, though. > > To test it just gzip any svg file with the following command: > gzip -S z > What's the mimetype for svgz... I might add it to thunar-thumbnailers. >>> [EMAIL PROTECTED]:~$ fgrep svgz /usr/share/mime/globs >>> image/svg+xml-compressed:*.svgz >>> >> But will that work? >> >> >>> $ gzip -S z graphic.svg >>> $ file -i graphic.svgz >>> graphic.svgz: application/x-gzip > Yep, on my machine files with the svgz extension come up as > image/svg+xml-compressed ... Well, on your machine. That it doesn’t happen here should be enough reason for research before implementation. Did you also use "file -i" to get the MIME type? Regards, Mathias -- debian/rules signature.asc Description: OpenPGP digital signature ___ Thunar-dev mailing list Thunar-dev@xfce.org http://foo-projects.org/mailman/listinfo/thunar-dev
Re: [Thunar-dev] svgz thumbnails on Thunar
Mathias Brodala wrote: > Hi Stephan. > > Stephan Arts, 01.08.2007 23:47: > >> On 8/1/07, Erlend Davidson <[EMAIL PROTECTED]> wrote: >> >>> On 30 Jul 2007, at 21:45, Andre Barros wrote: >>> >>> Does anyone get svgz images thumbnails on Thunar? Asking that because I could not get them to be displayed on CentOS 5 and Slackware 12. svg images are fine, though. To test it just gzip any svg file with the following command: gzip -S z >>> What's the mimetype for svgz... I might add it to thunar-thumbnailers. >>> >> [EMAIL PROTECTED]:~$ fgrep svgz /usr/share/mime/globs >> image/svg+xml-compressed:*.svgz >> > > But will that work? > > >> $ gzip -S z graphic.svg >> $ file -i graphic.svgz >> graphic.svgz: application/x-gzip Yep, on my machine files with the svgz extension come up as image/svg+xml-compressed ... ImageMagick's "convert" can work directly on svgz files. I'll add the thumbnailer to svn soon. Thanks, Erlend ___ Thunar-dev mailing list Thunar-dev@xfce.org http://foo-projects.org/mailman/listinfo/thunar-dev