[Thunar-dev] svgz thumbnails on Thunar

Mathias Brodala info at noctus.net
Thu Aug 2 12:13:13 CEST 2007


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 <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 ...

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20070802/37b4377b/attachment.pgp>


More information about the Thunar-dev mailing list