Skip to content

Instantly share code, notes, and snippets.

@vranystepan
Forked from h4cc/howto.md
Last active October 3, 2019 17:14
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save vranystepan/b372b35f7434506a94a324c978f92e8c to your computer and use it in GitHub Desktop.
Save vranystepan/b372b35f7434506a94a324c978f92e8c to your computer and use it in GitHub Desktop.
Getting Thumbnails / Previews of your RAW files in Fedora 25

Howto

Install these programms

sudo dnf install raw-thumbnailer
sudo dnf install ufraw

Try now if everything works, and your thumbnails show up. If not, try the following part.

Fixing missing mime types

In case the default config does not work for you, try this:

Edit the file /usr/share/thumbnailers/raw.thumbnailer as root and insert the following content:

[Thumbnailer Entry]
TryExec=ufraw-batch
Exec=ufraw-batch --silent --size %s --out-type=png --noexif --output=%o --overwrite --embedded-image %i
MimeType=image/x-canon-cr2;image/x-canon-crw;image/x-minolta-mrw;image/x-nikon-nef;image/x-pentax-pef;image/x-panasonic-raw2;image/x-samsung-srw;image/x-olympus-orf;

Check if the mime type of your RAW images in in the MimeType list.

After that, stop nautlius and clear the thumbnail caches:

nautlius -q
rm -rf .cache/thumbnails/* .thumbnails/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment