I've done a .thumbnailer file to use inkscape as a thumbnailer for svg files but it doesn't work. Can someone point me in the right direction?
this is the content of 'inkscape.thumbnailer':
[Thumbnailer Entry]
TryExec=inkscape
Exec=inkscape --filename=%i --export-area-page --export-height=%s --export-png=%o
MimeType=image/svg+xml;
thanks,
Anonymous
Being lightweight file manager, PCManFM tries to generate thumbnails without launching any application first so image/* files which are supported by GDK-Pixbuf library will be loaded using it, which is the case for SVG files too. What is the problem why you wanted to use external application to generate thumbnails for files which are already supported?
Thank you for the kind answer. The problem is GDK-Pixbuf support for svg files is poor. I'm a graphic designer and I use Inkscape for my workings. Having coherent thumbnails helps me a lot because I can find out a specific file much faster. As a workaround I made a bash script that use Inkscape as a thumbnailer to overwrite all thumbs in a specific directory.I'm forced however to execute it manually every time a svg file is modified.
Switching the default thumbnailer somehow from GDK-Pixbuf to Inkscape would be a useful feature.
Please take a look to the links below to get an idea.
Screenshots:
https://drive.google.com/file/d/0B-CPrRPKhGm3OUdHeDE5QTROMjA/view?usp=sharing
https://drive.google.com/file/d/0B-CPrRPKhGm3YTBfSXRsWXNhRk0/view?usp=sharing
Script:
https://drive.google.com/file/d/0B-CPrRPKhGm3QXIzMDRaVnVlYlE/view?usp=sharing
Last edit: ivanem 2015-05-10
I see. Thank you for an explanation. I move this as feature request for version 1.3 then, for adding an option to prefer external thumbnailers. :)
Ticket moved from /p/pcmanfm/bugs/947/