Archive for September 23rd, 2006

Migrating Thunderbird mail and settings from Windows to Linux

I have been using Mozilla Mail and later Thunderbird for my email for around five years. My mail folders contain over half a gigabyte of communication, that I definitely do not want to lose. So moving to Linux, I also had to move my mail.

While Thunderbird has features to import email and settings from other mail programs, like Outlook and Pegasus, it does not have an option to import from another Thunderbird installation.

My first attempt of just copying all the mail folders from my Windows profile to the Linux profile did not work as expected. Most of my mails got copied, but some older ones seemed to get lost.

After browsing a bit, I found an explanation of how to do it properly, namely by copying the whole profile instead of just the mail folders. This way, all settings and spam filter training, etc. also get copied - very nice!

First step is to set up a new profile in Thunderbird. This will get stored under “~/.thunderbird/xxxxxxxx.default” (where xxx is some kind of hash value). Next, copy all files from the Windows profile (under Documents and Settings/Application Data/Thunderbird/xxxxxx.default) into the Linux profile. This may or may not include your mail folders, which by default are stored under the profile, but may be customized. In my case, the mail folders were on another drive accessible to both Windows and Linux, so I just let them stay there.

In the profile data is a file called prefs.js. This include the setup of email and newsfeed accounts. In this file are paths to the mail folders. In the Windows profile, these point to something like C:\…\…\. These obviously do not work under Linux, so edit all occurrences to the new path, e.g. something like /home//.thunderbird/xxxxxxx.default/… Make sure the profile and mail folders are read and writeable.

Starting up Thunderbird, you should now see all you mail and settings.

16 comments September 23rd, 2006

Firefox fails to start after updating to 1.5.0.7

In today’s shipment of updates to OpenSUSE was the latest version af Firefox, 1.5.0.7. As usual, I indiscriminately chose to get all available updates, including Firefox.

When the updater reported succesfully completing the update, I started Firefox. And waited. And waited. Though I could see the process running, no windows appeared. Hmm… Houston do we have a problem?

First step was to kill the running processes and then start Firefox from the command line. After printing a lot of stuff including a couple of failed assertions (!), Firefox stopped and apparently waited for a debugger to be attached.

Next step was to start Firefox in safe mode using the command line: “firefox -safe-mode”. This - among other things - prevents extensions from being loaded. Now the window came up. Figuring that it was a problem with one of my extensions, I disabled all the most conspicuous ones and restarted in normal mode. After a bit of trial and error, enabling and disabling extensions, I found the culprit: FireBug 0.4.
I believe I have run FireBug 0.4 on Firefox 1.5.0.7 under Windows at work, so it must be an issue that appears only under Linux or perhaps with the combination of extensions I have. Too bad, since FireBug is a cool extension for doing Ajax development.

Add comment September 23rd, 2006


Calendar

September 2006
M T W T F S S
« Aug   Oct »
 123
45678910
11121314151617
18192021222324
252627282930  

Posts by Month

Posts by Category