Refresh thumbnails in nautilus

How does one refresh thumbnails in nautilus? In my videos folder I have some MKVs and only half of them have the movie border and a excerpt from the movie and the others (also MKVs encoded in the same way) just have the ordinary film icon.

(F5 doesnt do it.)


Solution 1:

Updated for 14.04 LTS (or later)

From 12.10 onward, thumbnails are stored at ~/.cache/thumbnails

Corrected commands:

rm -r ~/.cache/thumbnails

Then either restart, or:

killall nautilus

Original answer: (for 12.04, and earlier)

Here the commands:

rm -r  ~/.thumbnails
killall nautilus

Solution 2:

easier way just delete the failed to cache icons by deleting the following directory.

It will make nautilus to refresh only those thumbnails which currently have folder like thumbnail. It will not help if you want to refresh for file/folder which currently have any thumbnail.

Most of the time you should delete this then deleting all the thumbnails.

~/.thumbnails/fail

Solution 3:

There is a hidden directory in your home called .thumbnails.

If you delete a file (or all) there, its thumbnail will be recreated by nautilus the next time that you visit the dir where it's stored.

I don't know if there is some more convenient way.

Edit: Nautilus will store the thumbnails in memory. You will need to close and start again Nautilus to force it to recreate them.