LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-24-2013, 10:59 AM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,192

Rep: Reputation: 96
How do I REALLY disable thumbnailers?


CentOS 6

A couple of days back an update to Firefox caused the program to start creating and storing thumbnails withing the Firefox profile hierarchy. I was able to fix this by adding to about:config the following key:
Quote:
new Boolean pref browser.pagethumbnails.capturing_disabled
and setting the value to True
While I was at it I went looking for other unwanted thumbnails. And I found them in /home/ken/.thumbnails :-(

I reviewed my build notes and found this:
Quote:
Disable thumbnails - gconf-editor - Desktop; Gnome; Thumbnailers [X] disable_all
I checked and verified that the setting was still set. I noted that a number of thumbnailers, particularly related to evince, had individual settings and were enabled. I disabled them as well. But still the system is generating thumbnails. For example if I right click on the Desktop and select Change Desktop Background I see a bunch of files appearing in .thumbnails. So it appears that some thumbnailer is still functioning.

How do I disable all thumbailers, everywhere, always and permanently?

TIA,

Ken
 
Old 02-24-2013, 03:19 PM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,074

Rep: Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788
I gave up on that! Instead I wrote a script to be run at start-up to delete all the thumbnails and the flash cookies too.
 
Old 02-24-2013, 03:33 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,916

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
~/.thumbnails/large
~/.thumbnails/normal

are part of the desktop operations
if a pdf is viewed in okluar the desktop will make a thumbnail


for kde and gmone
it is under "folder properties"
set preview to 0 kb
 
Old 02-24-2013, 04:19 PM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,192

Original Poster
Rep: Reputation: 96
Thanks DavidMcCann,

I have had commands in my nightly housekeeping/backup script to delete thumbnails, cache and various other crap. I have been running, and adding to the script for YEARS. My concern here is not to simply get rid of the thumbnail files for PRIVACY and/or other reasons. Rather it is to turn off the thumnailer programs for SECURITY reasons. I saw a fantastic video a couple of years ago of a computer conference where the presenter locked the screen on a Linux box and inserted a flash drive with a bunch of graphics files, one of which contained some thumbnailer exploit code. In less than a minute the compromised thumbnailer executed a script which killed the screen saver and unlocked the machine! I immediately disabled (or at least I thought I disabled) thumbnailers on all my Linux machines.

Thanks John VV,

I am not using okular on this machine. It looks like I have killed the thumbails on evince for the time being at least. In gnome file browser (Nautilus) I have everything set to list view (not icons) and all Previews set to Never. I have stopped Firefox from creating thumbnails but Appearance Preferences still creates them.

Getting dangerous now... I just found a setting in gconf-editor /desktop/gnome/thumbnail_cache. I will set the max age and max size values to 0 and see if the machine tilts.

Well, it did not tilt, invoking Appearance Preferences created the thumbnails but they went away after a minute or so(?) Perhaps I will just do a chmod -x on .thumbnails and forget about it.

Ken
 
Old 02-24-2013, 04:23 PM   #5
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 53
Quote:
How do I disable all thumbailers, everywhere, always and permanently?
Would this work?
Code:
rm -rf ~/.thumbnails
ln -s /dev/null ~/.thumbnails
Haven't tried it myself, and I'd like to know what BAD things can happen in a thumbnailless world?

[Edit]@taylorkh Started my post before your last appeared. Thought you were only interested in getting rid of cruft.

Last edited by impert; 02-24-2013 at 04:31 PM.
 
Old 02-25-2013, 04:14 AM   #6
bloody
Member
 
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 158

Rep: Reputation: 23
[QUOTE=impert;4898865]Would this work?
Code:
rm -rf ~/.thumbnails
ln -s /dev/null ~/.thumbnails
In case that throws errors (because noone can create files in /dev/null, only dump stream data to it), you could also use a tmpfs (ramdisk) directory. If you have mounted e.g. /tmp as tmpfs you can do (e.g. during boot or desktop startup):

mkdir -p /tmp/ken/.thumbnails
chown ken /tmp/ken/.thumbnails

If not already done, do this once:
rm -rf ~/.thumbnails
ln -s /tmp/ken/.thumbnails ~/.thumbnails

That's what i do. Just too many applications write thumbnails without my explicit consent, so i let them write to a ramdisk as i got plenty of RAM. The thumbs will stay available until i shutdown/reboot which isn't so bad.

This thumbnail generation is really annoying. It should be disabled by default in all applications as a matter of software standard behavior. What if i don't wish to leave any traces of whatever images i was ever viewing? Also a privacy issue.. same with histories of any kind. Programs just generate them. Ppl who write such software apparently live in a world where noone would ever spy on you.. e.g. by confiscating your computer..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable Text-to-speechmanager on startup, and disable fsck after 20 boots Kristian2 Slackware 2 02-25-2009 10:55 AM
dbx command for corrosponding commands disable or disable on gdb bshankha AIX 0 09-26-2006 09:38 AM
GNOME 2.10 Thumbnailers... ParticleHunter Linux From Scratch 2 07-24-2005 01:11 PM
what are the services i can disable, also disable ads, banners in konqueror? greythorne Suse/Novell 3 03-16-2005 08:30 AM


All times are GMT -5. The time now is 07:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration