LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to stop thumbnail directory from saving pics? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-stop-thumbnail-directory-from-saving-pics-511135/)

M$ISBS 12-16-2006 02:16 PM

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

matthewg42 12-16-2006 04:34 PM

You could set up a cron job to clean it periodically.

M$ISBS 12-17-2006 02:52 AM

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.

matthewg42 12-17-2006 04:12 AM

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.

M$ISBS 12-17-2006 04:33 AM

Thanks for looking. I guess I could do the cron thingy or keep deleting them when I remember... :) Thanks.

jschiwal 12-17-2006 05:03 AM

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.

M$ISBS 12-17-2006 10:59 AM

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.

CrashedAgain 01-30-2007 11:19 AM

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)?

matthewg42 01-30-2007 11:43 AM

probably better to make a cronjob to do it.


All times are GMT -5. The time now is 08:07 PM.