[Thunar-dev] dcraw thumbnailer

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Jan 10 09:44:27 CET 2007


Timothy White wrote:
>>>> thunar-thumbnailers could install a mime type for the .MRW files.
>>> OK, but how do we do that?  Add it to /etc/mime.types, some distibutions
>>> install that file as a separate package?
>> No, install new mime types into the shared mime database. See the
>> shared-mime-info page on freedesktop.org for details. IIRC there was
>> also an automake tutorial for this on live.gnome.org.
> 
> I still have no luck. NEF files are seen as TIFF's, and the default
> thumbnailer manages to get the embedded thumbnails. MRW files are
> simply unknown, or reported as a "mrw document".
> 
> The raw thumbnailers desktop entry contains the correct MIME types, we
> just need it detecting the correct MIME types.
> 
> MimeType=image/x-canon-crw;image/x-fuji-raf;image/x-minolta-mrw;image/x-nikon-nef;image/x-kodak-dcr;image/x-kodak-kdc;image/x-olympus;

Adding glob patterns for *.nef and *.mrw should do the trick. See the
shared mime database specification.

> Tim

Benedikt



More information about the Thunar-dev mailing list