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.