Easy Linux Distro Hopping – Thunderbird and Firefox

One of the good/bad things about Linux is distro hopping. Distro hopping means trying out different distributions of Linux as the mood hits, or an exciting new distribution appears. Some people change Linux distributions monthly. Other people less often. Some people not at all.

A few people have their favorite distribution and try out other Linux distributions on the side, so to speak. I am one of those people. For me the Linux distribution I am using is possibly not as great as the new distro I will take for a test drive. I do not want to miss out.

One of the downsides to jumping Linux distributions is email and web browser settings. Email because I either have to keep email on the server, or I have to ensure I do not need any emails in the old distribution before I delete it for the next latest and greatest Linux Distribution.

There is an easy fix however, if you use Mozilla products which I am a big fan of. I prefer Thunderbird for my email and Firefox as my web browser. If you are using either or both of these, distro jumping becomes much less painful.

This post is for the new distro hoppers. A How To for easily moving your Firefox and Thunderbird email, address book and settings to your newest distro. This works for popular distros as of June 2014.

With [most] Linux distros, all your files are kept in your home directory. Your email, and your browser settings are stored as invisible files in your home directory. This is how Linux keeps everything right in the case of multiple users on a computer.

Each user or account has their own home directory where their personal files are stored.  This makes distro jumping easy. When you want to either try out a Linux distribution or try out a second distribution, keeping your email and browser settings is a fairly simple process.

In your file manager, no matter which manager you have is a setting in preferences for viewing hidden files. This needs to be checked because you want to view hidden files – temporarily.

After setting the hidden files switch, when you look at you home directory, you will see a number of files that have a period in front of the folder name. These are hidden folders. Most folders contain settings and other information for the user based software you have installed.  There are a number of hidden folders, and they tend to clutter up the file manager, so they are hidden and not viewed by default.

Two of these hidden folders you are most interested in are: .mozilla and .thunderbird. These two folders contain all your Thunderbird and Firefox email and settings.

Your new distribution needs to have Thunderbird and Firefox installed. If they are not present, install them both before proceeding.  Copy these two folders, .mozilla and .thunderbird, from your old home folder to your new home folder. Your file manager will warn you that these folders exist and do you want to replace them. Choose: yes.

Tat is all there is to it. I did one jump recently where this did not work for Thunderbird, not sure why. What I did was create my accounts in Thunderbird, and then close Thunderbird before allowing to to check of new email. When I reopened Thunderbird, my old emails, address book, etc were all present.