Ubuntu – Nautilus not generating thumbnails for GIF images

gifnautilusthumbnails

No matter what I try (changing the preview options, deleting the thumbnail cache, etc.), Nautilus in Ubuntu 15.04 does not generate thumbnails for GIF image files. However, it generates a thumbnail for all other previewable file type. Can I solve this problem somehow?

Best Answer

Create your own thumbnailer:

sudo nano /usr/share/thumbnailers/gif.thumbnailer 

Add the following content:

[Thumbnailer Entry]
TryExec=convert
Exec=convert %i[0] -resize %sx%s %o
MimeType=image/gif;

Install imagemagick (just in case it's not installed by default):

sudo apt-get install imagemagick

Clear the cache:

rm -r ~/.cache/thumbnails

source