I have a problem with thumbnails on my Ubuntu 12.04 LTS 32-bit system with Cinnamon 2.0.14 DE and Nemo 2.08.
I have tried removing the ~/.thumbnails
directory but it is not working for me. This is very weird because when I open an image in Eye of GNOME, Nemo is creating thumbnails but other images doesn't have preview thumbnails as one can see in my screenshots below. I have changed the preview settings as show miniatures always.
Screenshot 1:
Screenshot 2:
Nemo makes previews only for files less than one MB by default. You can change this from its preferences:
The solution below works for 32 and 64 bit systems (tested on cinnamon 17):
In your home directory remove the
.thumbnails
subdirectory:Set a new link for the cache folder:
To fully flush everything out consistantly, I ended up having to use a small script to clear out all the cached files and reset the symbolic link to the cache folder. This worked for both nemo and nautalus. I made sure to shut down the file manager at the end of the script too. Then when I next opened the folder, all the thumbnails reloaded. Be sure the file size for thumbnails is set high enough. I have a couple MP3 files over 10meg so I have my preview level set to 100meg.
The solution for my in Xubuntu 18.04 x386 is to delete these folders by putting in a terminal:
then open Nemo and he will say a message that there is a problem with the cache of the icons:
now he asks me to put my password
And see, working fine:
I am not sure I'm out of the woods, but a few things I noticed on my end.
Debugging
There are no Nemo logs I could find, but someone else suggested enable warning messages by running
G_DEBUG=fatal_warnings gdb nemo
. You can run this in the terminal, then in another window launch Nemo from the command line for a folder with problematic thumbnailingnemo /path/to/folder
. This would show warnings from Nemo.My findings
(xplayer-video-thumbnailer:21934): GLib-CRITICAL **: 10:34:21.307: Failed to set scheduler settings: Operation not permitted
- At the recommendation from stack overflow, I had installed xplayer thumbnailer. This was unhelpful. I uninstall all the player stuff I had installed.sudo apt remove xplayer-thumbnailer xplayer xplayer-plugins xplayer-plugins-extra libxplayer
sudo apt install ffmpegthumbs ffmpegthumbnailer
. If using Linux mint, you may needmint-meta-codecs
.Unable to create loader for mime type image/x-nikon-nef: Unrecognized image file format
- I was getting a lot of these. I think this was my initial issue, but I didn't discover how to debug Nemo until later. The advice in this comment was the best I could find (also in summary below.deprecated pixel format used, make sure you did set range correctly
Summary
Remove xplayer if you have it installed (command above)
For video thumbnails, install ffmpeg thumbnailer (command above)
For raw files, update: Open up /usr/share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer and edit it to read as follows:
If you've a
raw.thumbnailer
or similar in that folder, delete it.Clean up old thumbs:
I had this issue myself, I fixed it by doing the following:
So what this does it deletes the thumbnail caches to get rid of any broken or miswritten thumbnails. The end result I found is that the xplayer used in Linux Mint got corrupted somehow on disk, my solution to fix that was to reinstall xplayer, and now my thumbnailing works again