How to change default thumbnails folder?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
szamot83

How to change default thumbnails folder?

Post by szamot83 »

Hello.

I was wandering is this possible to change this? I cant find answers anywhere. Today I was noticed that my ~/.thumbnails is about 500 mb. So I have mounted this folder in tmpfs, it gives me better performance and I don't have to worry about size of ~/thumbnails - but this solution work only for one user. It would be great if I could change it globally for example to /mnt/thumbs, than mount this folder in RAM - and this will work for all users. Maybe it is a way to redirect one folder to another?

Sorry for my english.

Regards

BTW - I was mounted Firefox cache folder in tmpfs too - try this you will be shocked how its improve his performance. Check this:
http://forums.linuxmint.com/viewtopic.php?f=29&t=30325
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
lagagnon

Re: How to change default thumbnails folder?

Post by lagagnon »

I think what you are talking about is a "ram disk". The method is two lines, you probably need to set up a bash script and put it in /etc/rc.local and it will run at each boot. You can also add a line to copy all in ~/.thumbnails to that ramdisk after you've created it. Read this:

http://prefetch.net/blog/index.php/2006 ... ith-linux/
szamot83

Re: How to change default thumbnails folder?

Post by szamot83 »

I simply have added this line to my fstab:

Code: Select all

tmpfs /home/jola/.thumbnails tmpfs size=60M,nr_inodes=10k,mode=1777 0 0
Locked

Return to “Xfce”