Sunbird and Lightning removed from Ubuntu 10.04 Lucid Lynx
effective immediately, we have moved to our dedicated servers in http://www.brizoma.com/
Please update your bookmarks, since we will not update this site anymore.
See you in BRIZOMA.COM
News update: if you are upgrading from 10.04 to 10.10 and already followed this tutorial before, visit this updated instruction set.
This weekend I devoted some time to upgrading and fresh installing the latest Ubuntu long term support release (LTS). Although I found it awesome, some of the annoyances took me some time to solve, and others were just minor obstacles.
One of those stupid minor issues is the removal of both Sunbird and Lightning from the Lucid repository. I never trusted Evolution enough to move my data over to it, so I kept using Sunbird for ages. Neither did I trust Lightning project when it started -as an extension for Thunderbird-, nor do I like Thunderbird as an email client, but nevertheless I have been using Thunderbird + Sunbird for years now… I still wonder what all these birds are doing in my linux box…
So after upgrading my Ubuntu box from Karmic Koala (9.10) to Lucid Lynx 64-bit, I noticed that my Sunbird icon had disappeared, together with the application. So no calendar data in my freshly upgraded box. No problems, because I have backups for everything. So the question is how to fix the problem fast.
I went to Sunbird’s website and noticed they are suggesting the installation of Lightning. Why not give it a try? The version that is directly linked in the website is not for the 64-bit version of Ubuntu, so I picked up a copy of the release candidate from the contributions site and saved it to a local directory in my PC.
Then I installed the extension from within Thunderbird (menu Tools > Addons > Extensions). Don’t launch directly the XPI file from within Firefox, or it will try to install the extension into Firefox. You won’t break anything if you do so, but you will get an error message saying the extension is not compatible.
OK. Now you have your Lightning Calendar extension installed and running within Thunderbird. How about your data? Let’s see how you can move the data from the old Sunbird calendar to Sunbird without exporting the data to an ICS file and re-importing it into Lightning.
First look for a file called storage.sdb in your old Sunbird calendar. It probably resided under:
Then copy it directly to the new folder:
and rename the file to local.sqlite. If you did not change the colors or general preferences of Sunbird, then you are done. If you made config modifications (you probably did), you will need to move your preferences from Sunbird to Thunderbird/Lightning.
For this to happen, you should first make sure Thunderbird is not running. You have probably opened it to see if the data was imported; you felt the relief to see your data is there. So now close the file. Open the file:
with an editor such as gedit. Also open the file:
Now go back to the first file you opened with gedit (Sunbird’s prefs) and select all lines starting with ‘user_pref(“calendar.‘ and copy them to the second file (Thunderbird’s prefs), somewhere at the end of the file, after the last entry. Save your changes to Thunderbird’s file and start Thunderbird. All your color changes or new categories should be there too. You could have also used the about:config interface of Thunderbird to input the config lines one by one.
If you made some error, remember that gedit usually saves a backup copy of your files. They are saved on the same directory, appending a trailing ~ character to the original file name.
I hope you enjoyed this little tutorial. I will soon report more experiences around Ubuntu’s new release.