Ubuntu / Linux news and application reviews.

You can use Lightning to get a calendar that's fully integrated with Thunderbird, but what about Google Calendar synchronization? Well, there's an extension called "Provider for Google Calendar", which lets Lightning read and write events to Google Calendar.

For now, the extension doesn't support Google Tasks, but its developer says he's working on it.


Below, I'll explain how to set up both Lightning and "Provider for Google Calendar" to synchronize Google Calendar with Thunderbird (bidirectional sync).

The instructions below have been tested with Thunderbird 10 which is available in the Ubuntu 11.10 Oneiric Ocelot official repositories and Thunderbird 11 (will probably be available in the Ubuntu 11.10 repositories soon; is already available for Ubuntu 12.04).

For older Ubuntu versions (11.04, 10.10 and 10.04), you can install Thunderbird 10 (soon, version 11 will be available) using the stable Thunderbird PPA:
sudo add-apt-repository ppa:mozillateam/thunderbird-stable
sudo apt-get update
sudo apt-get install thunderbird


1. Install "Lightning" and "Provider for Google Calendar" Thunderbird extensions.

In Ubuntu, you can install both extensions using the following command:
sudo apt-get install xul-ext-lightning xul-ext-gdata-provider

Then restart Thunderbird. That's it for step 1 if you use Ubuntu.


For other Linux distributions (or Windows), download the extensions from here:

Then open Thunderbird > Tools > Addons and select "Install Add-on from file" like in the screenshot above, then browse for the extensions you've downloaded above and select to install them. And finally, restart Thunderbird.

2. Login to http://google.com/calendar, click the settings icon on the right and select Settings:



Now click on the "Calendars" tab and then on the calendar you want to sync with Thunderbird ("main" in my case):



At the bottom of the calendar page, click the "XML" icon next to "Private Address" and copy the url:




3. In Thunderbird, select New > Calendar, then select "On the Network", choose "Google Calendar" and paste the link you've copied from Google Calendar:


When prompted, enter your Google account password. Next, you'll have to enter a name for the calendar, select a color, etc.:



Click "Next" and Thunderbird should start importing all your calendar events. This may take a while and the Thunderbird window may appear to freeze (but it's actually working in the background). In a few minutes (it depends on how many events you had in your calendar), Thunderbird should finish and the calendar you've added should be synchronized (2-way) with Google Calendar.