LinuxQuestions.org
Visit Jeremy's Blog.
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, 03: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, 05:34 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
You could set up a cron job to clean it periodically.
 
Old 12-17-2006, 03: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, 05:12 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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, 05: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, 06:03 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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, 11: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, 12:19 PM   #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, 12:43 PM   #9
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

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


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

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

All times are GMT -5. The time now is 03:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration