Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Is there a way to stop thumbnails from being created? ...
Background: The machine in question is in use as a media server (so has thousands of photos etc. stored) as well as a workstation. I back the machine up each night to an NTFS partition on an external hard drive. Unfortunately, even though I've elected to disable all thumbnailers in the Configuration Editor, I only have to browse a few folders of photos and several thousand thumbnails appear in ~/.thumbnails/normal and several hundred in ~/.thumbnails/fail/gnome-thumbnail-factory! This causes a problem because I have a set of backups (/media/usb0/backup; /media/usb0/backup2; /media/usb0/backup3;...). Before backing up, I use rm -fr to delete the oldest backup and then mv to rename the backups, thus 'shuffling' them along. However, rm can't delete all those thumbnails from the oldest backup, so the oldest backup isn't fully deleted, which makes things a little messy!
FWIW, I've got a workaround, which is to have my cron job delete all those thumbnails before starting the backup routine proper, but I'd rather find a way to stop Gnome, Nautilus, or whatever's doing it, from creating the thumbnails in the first place.
this is not an elegant solution as it won't prevent thumbnails from being created, but you could redirect them to /tmp, replacing ~/.thumbnails/normal and ~/.thumbnails/fail/gnome-thumbnail-factory with symbolic links.
Thanks for the help guys -- it's much appreciated.
FWIW, I'm uneasy about "dev-nulling" a folder as I've read somewhere that should only be done to a stream or a single file. Also, that doesn't prevent the thumbnailers from firing up, which is what I'd really like to achieve.
I guess that I've got a different Gnome Config app than John as I don't have the same options he describes. I suspect that each distro has it's own front end for a lot of stuff, and that this is one such case.
Ah! I thought you meant Gnome Configuration Editor (gconf-editor, which on Debian you get to via Applications -> System Tools -> Configuration Editor) rather than Nautilus Options. Your earlier post now makes sense -- thanks.
I use the "link-to-tmpfs" solution, too. The thumbnail generation doesn't consume huge amounts of CPU power, and if i happen to re-visit the same image folder - plop, all thumbnails appear even faster. But when i'm done (shutdown/reboot), all thumbnails are gone, as it should be. I don't want that junk in my backups either. Also a privacy issue.