FIrefox/Thunderbird storage locations

environment-variablesfirefoxthunderbird

By default, Firefox and Thunderbird save their files to ~/.mozilla and ~/.thunderbird.

I am wondering if there's an environment variable I can set, to have either of them save their data to a different location. I want to have multiple instances of them available, each with their own settings for server and application testing. I can do this with the-no-remote option and Profile Manager of each, but I was wondering if I could totally keep the testing profiles separate from my main configuration.

This would also enable me to keep the profiles in source control if I so desired.

Best Answer

Firefox and Thunderbird do not have a built-in method of doing this, so your best bet would be to use individual profiles (via the Profile Manager) or some other means.

mauilion is correct, though, that you can (ab)use symbolic links to acheive similar results, but you can only do that between individual sessions - it would be a very bad idea to modify the location of ~/.mozilla while Firefox is running! (Trust me, I tried that. Firefox wasn't happy about that.)

Related Question