You are not logged in.

#1 2010-10-22 12:59:14

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

[solved] cleanup the ~/.thumbnail

hi to all

with big surprise, today i discover that folder is full of .png thumbnail: about 400MB

so , i have delete all files BUT this isn't a good solution.....

a good idea instead could be to move this folder to RAM, in /dev/shm, how can i do that ???

thanks

Last edited by nTia89 (2010-10-23 20:41:10)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2010-10-22 14:44:04

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: [solved] cleanup the ~/.thumbnail

mkdir /dev/shm/thumbnail
ln -s /dev/shm/thumbnail ~/.thumbnail

Though, you'd need to remake the directory on every boot. Perhaps put it in rc.local.

Last edited by Barrucadu (2010-10-22 14:44:31)

Offline

#3 2010-10-22 15:03:43

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] cleanup the ~/.thumbnail

perfect, i'll try it

but doesn't exist a thumbnail.conf file ? is only a question...

PS: i'm studying about a more powerful way to manage this, say me your idea!!!


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#4 2010-10-22 15:07:25

kachelaqa
Member
Registered: 2010-09-26
Posts: 216

Re: [solved] cleanup the ~/.thumbnail

do you use gwenview? if so, i'd guess that it's responsible for generating a large percentage of your thumbnails.

fortunately, it has this option: Settings / Configure Gwenview / Advanced -> "Delete thumbnail cache folder on exit"

also, if you're a gnome user, i think there are global options for controlling the cache size.

Offline

#5 2010-10-22 15:28:03

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] cleanup the ~/.thumbnail

i'm gnome user but i can't see any cache-size option....


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2010-10-22 15:31:44

machoo02
Member
Registered: 2009-02-22
Posts: 35

Re: [solved] cleanup the ~/.thumbnail

Open up gconf-editor, and the appropriate option is under desktop -> gnome-> thumbnail_cache. You can change the cache size, and the length of time that thumbnails are kept.

Offline

#7 2010-10-22 20:49:00

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] cleanup the ~/.thumbnail

machoo02 wrote:

Open up gconf-editor, and the appropriate option is under desktop -> gnome-> thumbnail_cache. You can change the cache size, and the length of time that thumbnails are kept.

thanks very much!


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#8 2010-10-23 18:24:43

machoo02
Member
Registered: 2009-02-22
Posts: 35

Re: [solved] cleanup the ~/.thumbnail

No problem. Perhaps you should mark this thread as solved.

Offline

#9 2010-10-23 20:40:56

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] cleanup the ~/.thumbnail

done!

but i'm also interested to a solution for openbox

Last edited by nTia89 (2010-10-23 20:48:34)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

Board footer

Powered by FluxBB