Clearing the thumbnail cache on linux

Last update on May 24, 2009 09:42 AM by aakai1056
Published by aakai1056

Clearing the thumbnail cache on linux





Linux systems also display thumbnails. It always saves these mini images to make it display more quickly.
So it always saves too much thumbnails which takes a lot of spaces. So this is how we will clear the thumbnails cache.

How to do?


• Create the file /etc/crond.daily/clean_thumbnails: sudo gedit /etc/cron.daily/clean_thumbnails
• Copy and paste it:

#!/bin/sh
nice find /home/yourlogin/.thumbnails -name "*.png" -mtime +15 | xargs rm -f 


chmod +x /etc/cron.daily/clean_thumbnails will be executable.

Note


This cleaning is no longer necessary with Ubuntu 8.10: The system will purge itself thumbnails.
The cache is cleared if there is an excess of the maximum age and miniatures or the maximum cache size; This configuration with gconf-editor in:


/desktop/gnome/thumbnail_cache/max_size (maximum size cache)
/desktop/gnome/thumbnail_cache/max_age (maximum age of a thumbnail)
Best answers for « Clearing the thumbnail cache on linux » in :
Clearing the cache Update Show Clearing the cache Update For each update downloaded, the Windows backup cache is installed in the Windows \ SoftwareDistribution \ Download. However this cache is futile once the update installed apart from consuming disk...
Clearing the cache thumbnails Show Clearing the cache thumbnails Using a batch file Manual When launching a folder with videos or images, thumbnails are stored under the explorer of Windows Vista in the file type thumbcache_xxx.db found under Users \ [Username] \...
Internet Explorer cache Show Internet Explorer cache Cache Levels in Internet Explorer Change the size of Internet cache Clear the internet Cache When you browse the Web, your browser makes web pages in a cache, i.e. it stores the pages, images and other files...
Disabling the DNS cache of Mozilla Firefox ShowDisabling the DNS cache of Mozilla Firefox The Firefox web browser contains its own DNS cache independent of your operating system. For most users, it is quite convenient, it allows a faster web browsing as it doesn't have to request...
Errors 0x81000370 and 0x81000365 ShowErrors 0x81000370 and 0x81000365 Adjust date on your PC. Check Firewall settings Clear the cache of Internet Explorer and delete cookies Reset proxy settings of MSN Messenger Check the Internet browser settings Restore the recordings of...
How to free disk space under Windows Vista ShowHow to free disk space under Windows Vista Below are listed several reasons of why vista consumes lot of space on your disk: Disabling the DNS cache of Mozilla Firefox Clearing the cache Update Cache installing service pack 1...
Download Avira AntiVir Personal free for Linux / FreeBSD / OpenBSD / Solaris ShowFor Linux / FreeBSD / OpenBSD / Solaris Avira AntiVir PersonalEdition Classic is a very good and free antivirus which reliably protects your private computer against dangerous viruses, worms, Trojans, rootkits and costly dialers.
Linux - The shell ShowIntroduction to the shell The command interpreter is the interface between the user and the operating system, hence the name "shell". The shell therefore acts as an intermediary between the operating system and the user thanks to command lines...
Linux - The Vi editor ShowIntroduction to Vi Despite its very limited ergonomics, Vi i is one of the most popular text editors texte under Unix type systems (with Emacs and pico). Under Linux, there is a free version of Vi called Vim (Vi Improved). Vi (pronounced vee-eye)...
Linux commands ShowTable of main Linux commands Command Description DOS equivalent ls lists the content of a directory dir cd change directory cd cd .. parent directory cd.. mkdir creates a new...