[Thunar-dev] PDF Thumbnailer

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Mon Aug 6 13:19:06 CEST 2007


Erlend Davidson wrote:
> 
> Benedikt Meurer wrote:
>> Erlend Davidson wrote:
>>   
>>>> The GNOME thumbnailers are used by default. Any thumbnailer installed
>>>> via a .desktop file overrides a conflicting GNOME thumbnailer.
>>>>       
>>> But what if, as in the case for a pdf/ffmpeg thumbnailer I want to 
>>> under-ride (as a fallback) the gnome ones?
>>>     
>> Not possible ATM.
> it's actually pretty tricky to implement my suggestion in 
> thunar-vfs-update-thumbnailers-cache.c.  It would need to store an 
> multidimensional array of the mimetypes, the thumbnailer and the 
> priority and only select the thumbnailers with the highest priority.

I'd suggest to create a simple script for such thumbnailers, which tries
to invoke the GNOME thumbnailer first, if present, and falls back to
your custom thumbnailer. That way you don't need any tricky stuff in
Thunar, and esp. no confusing priorities, but you can handle everything
in your thumbnailer scripts.

Benedikt



More information about the Thunar-dev mailing list