[Thunar-dev] svgz thumbnails on Thunar

Erlend Davidson E.R.M.Davidson at sms.ed.ac.uk
Thu Aug 2 11:29:55 CEST 2007



Mathias Brodala wrote:
> Hi Stephan.
>
> Stephan Arts, 01.08.2007 23:47:
>   
>> On 8/1/07, Erlend Davidson <E.R.M.Davidson at sms.ed.ac.uk> 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 <your-svg-file>
>>>>         
>>> What's the mimetype for svgz... I might add it to thunar-thumbnailers.
>>>       
>> stephan at isis:~$ 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



More information about the Thunar-dev mailing list