LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-16-2006, 02:16 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
How to stop thumbnail directory from saving pics?


The /home/.thumbnails directory takes up a lot of space. How could I stop the thumbnails from being saved? I tried chmod -x on .thumbnails but something screwy happend, is there better way?
Thanks
 
Old 12-16-2006, 04:34 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
You could set up a cron job to clean it periodically.
 
Old 12-17-2006, 02:52 AM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by matthewg42
You could set up a cron job to clean it periodically.
I would like it to not save at all. Disk space and less magnetism is important to me.
 
Old 12-17-2006, 04:12 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I didn't find anything in the specification of the thumbnail protocol to say how to disable thumbnail generation, just suggestions on how to clean up the directory. I didn't read it very carefully though.
 
Old 12-17-2006, 04:33 AM   #5
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Thanks for looking. I guess I could do the cron thingy or keep deleting them when I remember... Thanks.
 
Old 12-17-2006, 05:03 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I'm not sure if the konqueror cache setting has an effect on the file-browser setting as well. You could unselect previews in the Previews & Metadata configuration item. That and not enabling previews in the file browser may previent the storing of thumbnails.

Another thing you could try is removing them in a ~/.bash_logout to delete the previews when you logout.
 
Old 12-17-2006, 10:59 AM   #7
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jschiwal
I'm not sure if the konqueror cache setting has an effect on the file-browser setting as well. You could unselect previews in the Previews & Metadata configuration item. That and not enabling previews in the file browser may previent the storing of thumbnails.

Another thing you could try is removing them in a ~/.bash_logout to delete the previews when you logout.
I will try that also, Thanks.
 
Old 01-30-2007, 11:19 AM   #8
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 33
I am also noticing this problem, I have been manually deleting the thumbnails periodically, last time I did this it had accumulated 3969 files for a total of 70Mb.

Would adding
Code:
rm -f /home/username/.thumbnails/normal/*
rm -f /home/username/.thumbnails/large/*
to /etc/init.d/bootmisc.sh keep this directory cleared? (Is this the correct syntax)?
 
Old 01-30-2007, 11:43 AM   #9
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
probably better to make a cronjob to do it.
 
  


Reply



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
make: *** ld: No such file or directory. Stop. satimis Linux From Scratch 3 07-26-2005 02:15 AM
How do I stop the filename and directory from printing? BajaNick Linux - Hardware 1 08-31-2004 04:31 PM
Thumbnail Creator lapthorn Linux - Software 2 06-11-2004 08:41 PM
Stop directory listings in Apache lothario Linux - Software 2 05-23-2004 09:17 AM
Saving gcc output files to new directory Fe98 Programming 3 12-08-2003 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration