I usually use Ubuntu tweak to do cleanup jobs on my PC. This includes apt and program cached data and old kernels. This goes alright for most programs except Mozilla based application - Firefox and Thunderbird.
Ubuntu tweak doesn't seem to know where their cache folders are and always returns 'zero packages can be cleaned' even when the cache folder is full. Check screenshot below:
I am looking for a way to clean up ALL my cache data and unneeded packages at one point.
If someone knows how to change the ubuntu tweak cache folders for Firefox and Thunderbird, that would be perfect.
I tried bleachbit last but it crashed my PC to a point I had to re-install Ubuntu.
I am using Ubuntu tweak 0.8.6.
EDIT
Same issue with the screenshot of this question: Why isn't Ubuntu Tweak's Janitor working?
EDIT 2
For the python programmers out there, this answer shows the commands that Ubuntu tweak janitor runs to clean up the system. Maybe something in there will shed more light to this issue.
As I tested Ubuntu Tweak 0.8.6 in Ubuntu 13.10. It seems that for both, late releases of Mozilla Firefox and Thunderbird moved their cache folders to
~/.cache
. Profiles configuration kept in same place~/.mozilla/firefox/profiles.ini
and~/.thunderbird/profiles.ini
.Firefox:
~/.mozilla/firefox/
→~/.cache/mozilla/firefox/
Thunderbird:
~/.thunderbird/
→~/.cache/thunderbird/
Quick patch:
Add/Change all lines I include
cache_path
in them (3 new lines, 2 modifiedapp_path
→cache_path
, keepapp_path
of the profiles.ini):I filled an upstream bug report for this, See Cache path of Mozilla Firefox and Thunderbird changed to ~/.cache #24
For firefox you could install firebug. Once firebug is installed into firefox you can do a:
This will bring up the clear history dialog which includes clearing cache. Giving you nice control over what you clear and what you don't. Here is a screenshot of the feature: