Using tumbler 0.2.7 on Xubuntu 19.10, I try to disable thumbnails for specific formats, but it doesn't work. Here's what I tried (there are probably several unnecessary steps, but I just wanted to be sure there was an issue before reporting it): 1) I deleted these packages: libtumbler-1-0 (0.2.7-2) tumbler (0.2.7-2) tumbler-common (0.2.7-2) tumbler-plugins-extra (0.2.7-2) 2) I stopped this process: /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd 3) I closed Thunar: thunar -q 4) I deleted thumbnails: rm -rf ~/.cache/thumbnails/ 5) I restarted Thunar. I confirm that tumbler is fully removed and it no longer runs. No thumbnails are generated in Thunar. So let's configure tumbler before reinstalling it: 1) I closed Thunar: thunar -q 1) I created the following file: ~/.config/tumbler/tumbler.rc 2) I put the following content: # PDF/PS thumbnailer [PopplerThumbnailer] Disabled=true Priority=1 Locations= MaxFileSize=209715200 # Open document thumbnailer (ODF) [OdfThumbnailer] Disabled=true Priority=1 Locations= MaxFileSize=209715200 3) I installed the previously removed packages. 4) I restarted Thunar. Result: PDF and ODT thumbnails are generated even if the config file clearly specifies "Disabled=true".
What output do you get when running tumblerd from a terminal window? I am pretty sure that Xubuntu has atril-thumbnailer installed for PDF thumbnail creation.
Output: $ /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd Registered thumbnailer gnome-thumbnail-font --size %s %u %o Registered thumbnailer atril-thumbnailer -s %s %u %o Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o Registered thumbnailer /usr/bin/ooo-thumbnailer %i %o %s
You do have atril-thumbnailer and ooo-thumbnailer which both belong to the following category: # thumnailers provided by .thumbnailer desktop files [DesktopThumbnailer] ...
Thanks a lot. It works. For anyone looking at this report and experiencing the same problem, note that the service tumblerd may restart itself after stopping it, or some other service or software may restart it, and cause the thumbnails to be still generated even after disabling them in the config file because old settings were loaded again before changes. Instead of logging out and logging in from my session, I just delete tumbler before configuring it (so I'm sure nothing will be automatically restarted and use the config file before I edit it). I reinstall tumbler after changes. Also, note that disabling only "DesktopThumbnailer" is not sufficient, we still have to disable "PopplerThumbnailer" and "OdfThumbnailer" explicitly. #################### # This WON'T work: #################### $ sudo apt-get remove libtumbler-1-0 tumbler tumbler-common tumbler-plugins-extra $ pkill -u $(whoami) -f "/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd" $ thunar -q $ rm -rf ~/.cache/thumbnails $ cat ~/.config/tumbler/tumbler.rc # thumnailers provided by .thumbnailer desktop files [DesktopThumbnailer] Disabled=true Priority=1 Locations= MaxFileSize=2147483648 $ sudo apt-get install libtumbler-1-0 tumbler tumbler-common tumbler-plugins-extra $ /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd & #################### # This WILL work: #################### $ sudo apt-get remove libtumbler-1-0 tumbler tumbler-common tumbler-plugins-extra $ pkill -u $(whoami) -f "/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd" $ thunar -q $ rm -rf ~/.cache/thumbnails $ cat ~/.config/tumbler/tumbler.rc # PDF/PS thumbnailer [PopplerThumbnailer] Disabled=true Priority=1 Locations= MaxFileSize=209715200 # Open document thumbnailer (ODF) [OdfThumbnailer] Disabled=true Priority=1 Locations= MaxFileSize=209715200 # thumnailers provided by .thumbnailer desktop files [DesktopThumbnailer] Disabled=true Priority=1 Locations= MaxFileSize=2147483648 $ sudo apt-get install libtumbler-1-0 tumbler tumbler-common tumbler-plugins-extra $ /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd &