Pages

June 16, 2013

Controlling thumbnails in Thunar

Maybe I'm weird, but I don't like seeing thumbnails of my PDF documents in my file manager. This post pointed the way toward fixing that in Thunar. More concisely, Thunar uses a package called tumbler to generate thumbnails, and this is controlled by a config file. So, begin by making a local copy of the config file:

$ mkdir ~/.config/tumbler/
$ cp /etc/xdg/tumbler/tumbler.rc ~/.config/tumbler/

and then edit the local tumbler.rc file as needed to disable the unwanted thumbnailers:

# PDF/PS thumbnailer
[PopplerThumbnailer]
Disabled=true
Priority=1
Locations=
MaxFileSize=0

You'll also have to delete the unwanted thumbnails from ~/.thumbnails/normal. I have a ~/.thumbnails/large as well, and those might need to be deleted too.

3 comments:

Jalink said...

I'm just as wierd ;) thank you

Anonymous said...

How do you thumbnail fonts?
I have downloaded Tumbler, truetype2, I have a copy of the tumbler.rc file to my /.config/tumbler folder and one in (/usr/share/thumbnailers) like this:
# FreeType thumbnailer
[FontThumbnailer]
Disabled=false
Priority=1
Locations=
MaxFileSize=9900000000
But still can't preview fonts in Thunar file manager. I have cleared the cache like this:
rm ~/.cache/thumbnails/ and nothing.
Any ideas on how to fix this?

I have Ubuntu-Studio 20.04.

Mithat said...

@El-Asad I'm sorry, but I don't know. Have you asked on the XFCE forums (https://forum.xfce.org/)?