2007
04.12

@Update: 2nd November, 2007: Updated guide for Lightning v0.7 and Provider 0.3.1 releases — Jonny

For a long time I have been looking for a rock solid calendaring system. I’ve gotten too used to working for companies who have Microsoft Exchange (or, God forbid, Scalix) installed which allow me to edit and update a calendar from multiple locations and even sync it with my Mobile Phone. When I first heard of Google Calendar I hoped that I would be able to enjoy such benefits again, but I am not a great fan of web-apps, and prefer a nice, solid desktop client to do my email / organisation from.

Queue Lightning, the calendaring extension for Thunderbird which brings the desktop email app one step closer to becoming a viable alternative to Microsoft Outlook. Installation can be a little bit confusing and you must remember that this add-on is still in the 0.x stages, so may be a tad unstable at times (but that’s ok, we love this kind of thing!)

Open up Thunderbird (I am using the 2.0.0.6 release) and on the Top Menu, go to:

Tools -> Add-ons

When the Add-ons window opens, click on the Install button on the bottom left and paste in the following URL to install the latest release of Lightning (Windows Only, Linux / Mac users will need to get this link by copying the XPI download path from the Mozilla Add-on repository, located here.

Win32 Lightning Add-On XPI Download Link:
https://addons.mozilla.org/en-US/thunderbird/downloads/file/20424/lightning-0.7-tb-win.xpi

If you get a warning similar to “Lightning could not be installed because it is not compatible with Firefox” then you are trying to install the XPI directly into Firefox. Instead, you need to either “open” the link from inside the Thunderbird Add-Ons Install Window, or save the XPI to your desktop and then drag it into the Thunderbird Add-Ons Window.

Installing an XPI Add-On in Thunderbird

Once you have installed the Lightning Extension, Thunderbird will ask you to restart. Upon restarting you will be greeted with a new Sidebar on the right displaying tasks and events and a tool bar underneath your folder list.

Thunderbird with the Lightning Extension installed.

This is all well and good and provides us with an easy to use local calendar, but that’s not much use if you wanted to update it at work, or on the road / mobile device. This is where the Provider Add-on comes in to play.

Provider allows bidirectional syncing between the Lightning Calendaring Extension in Thunderbird and Google’s GCal Service. This is possible because Google, being the lovely chaps that they are, decided to opt for the iCalendar standard in GCal, well done chaps :)

Installation of Provider is pretty similar to that of Lightning. Again, go to the Add-ons Window (Tools -> Add-Ons) and Install the XPI available for download from Provider’s Page in the Mozilla Add-on repository.

Win32 Provider Add-On XPI Download Link:
https://addons.mozilla.org/en-US/thunderbird/downloads/file/20552/provider_for_google_calendar-0.3.1-tb+sb.xpi

Again, once installed, Thunderbird will have to be restarted.

Now, the last piece of the Pie is to tie our Google Calendar into our Lightning Calendar. First of all, you will need to log into your Google Calendar account. Once you are at the main page, click on “Settings” from the Top Right Menu:

Google Calendar - Settings

Once on the settings page, you need to drill down into the “Calendars Settings” screen and then click on your Calendar from the list (I only had a single calendar.)

Google Calendar - Select your Calendar

Now, finally, you need to copy the URL of your Private Address XML Feed into the clipboard.

Google Calendar - Private Address XML

You’re done in Google Calendar for now and we can head back to Thunderbird to finally wrap this tutorial up ;). Once you are back in Thunderbird, you need to create a new calendar in Lightning. You can do this by clicking on the following Menu item:

File -> New -> Calendar…

Creating a new calendar in Lightning

Upon clicking the New Calendar menu item, another window will appear. The first option is the location of your Calendar – select “On the Network” and click Next.

The next option allows you to specify the Format of the Calendar, slect the “Google Calendar” radio button (if you don’t have a Google Calendar radio button, make sure your Provider Extension is installed correctly). In the location input box, paste in your Google Calendar Private Address XML Feed that we extracted above, and click Next.

Specify your Calendar Location

The next window asks you to give your new Calendar a Name and a Colour, I will leave these entirely up to you ;)

Finally (yes, at last) you will have a “Google Calendar Login” window which will ask for your Google Account login. If you only have a single Google Calendar, Provider will have automagically extracted your username from the XML feed you just specified; however, just double check that it reads @GMAIL.COM. Then enter your usual GMail password.

Well done, you can now enjoy the many benefits of being able to view and update your Google Calendar directly from Thunderbird – nice work ;)

The end result

Further Reading

600 comments so far

Add Your Comment
  1. Can anyone help me sync my iphone to outlook calender via a scalix server?

  2. [...] Calendar and Blackberry Calendar Here’s the link to sync Thunderbird Lightning to Google Calendar bfish.xaedalus.net ? Stay in Sync with GCal and Thunderbird. Just follow those instructions, it’s quite simple. Then install google sync to sync the google [...]

  3. [...] maggiori informazioni circa l’integrazione consiglio di leggere questa semplice guida in inglese, ma vi ricordo che, se avete problemi, sono sempre qui, disponibile ad [...]

  4. Can anyone help me sync my iphone to outlook calender via a scalix server? we use scalix webmail but i access it through outlook

  5. Is there a way to keep two thunderbird calendars in sync!

    Here’s my problem. Corporate zimbra server, so Calendar Numer 1. My Phone with Sync Capabilities to Google Calendar.

    In Lightning i now see both calendars, it would be nice if i could sync zimbra -> thunderbird -> Google -> Phone…

    Is this possible? would be really nice…

  6. [...] PIM sync client into one package</li> </ul> <h2>Mozilla Thunderbird … bfish.xaedalus.net ? Stay in Sync with GCal and Thunderbird.Now Sync from my thunderbird to S60 mobile phone works like a charm. ….. 3: 43pm August 3rd [...]

  7. You NO LONGER need to have the Provider addon installed in Thunderbird to have bidirectional Google calendar support. Just the Lightning addon. Google Calendar now supports CalDAV and it’s very easy to enable bidirectional updating of your Google Calendar from within Thunderbird. Follow these instructions, remembering that Sunbird is the actual name of the Thunderbird calender.

    http://www.google.com/support/calendar/bin/answer.py?answer=99358#sunbird

    Remember, you’ll want to make sure you have the Google calendar box checked in left hand column of the calendar view in Thunderbird to have the Google calendar show. Also, very important. When adding an event from Thunderbird, you must specify which calendar you want the event to show up on. By default, this is set to the “home” calender. Click the drop down to select your Google calendar. This must be done or the event will not sync back to Google Calendar. Also, I set my Lightning calendar refresh to 5 minutes, which allows for faster updating of the calendars.

  8. I cannot figure out how to “accept” an event that arrives in my Thunderbird email and have it appear on my Google calendar. When I click “accept” in the email window the acceptance defaults to my Home calendar – I get no option to choose to have it go to my Google calendar, it just automatically goes “Home.” And I cannot find a preference setting anywhere to change this. (I’m on Mac, btw). Does anyone else have this problem? Does anyone know how to fix it?

  9. Please help! My event “accept” function is working now. But my Lightning calendar loses its connection to Google shortly after launching and unless I relaunch Thunderbird it cannot connect again. And then it loses it’s connection right away again. Is there a known issue related to this?

  10. [...] eventually found what I was looking for; see “Stay in Sync with GCal and Thunderbird” for how to set up a synchronized Google Calendar, using the Thunderbird extensions [...]

  11. Great, Thanks. I once followed the instructions in Google calendar to syn with Sunbird, but failed. I don’t know why, but your way works. Well done!!

  12. We had problems getting this working properly with Lightning on Thunderbird (or in Sunbird) until we used the calDAV settings. It is basically the same process, our cheat sheet is here:
    http://www.cybersprocket.com/wiki/index.php/Getting_Google_Calendar_Working_With_Sunbird_or_Thunderbird

  13. Superb!

  14. OK,

    I;ve got google calendar synced fine on my laptop, but have just tried on my pc (identical versions etc). It’s all fine until I get to the google calendar log in dialog box. The provides extracts the email address correctly, and I type in the password and hit OK. Instead of creating my calander, the log in dialog box just reappears. Have tried removing all saved passwords etc. Anyone got any ideas?

  15. This is superb, but if you’re using Ubuntu there’s one more step! Provider does not work with Lightning v0.7 which is what ships with Ubuntu, and installing v0.9 from the Mozilla link above does not work properly.

    The procedure I used was to first uninstall Lightning via Ubuntu Add/Remove function, then install libstdc++5:

    sudo aptitude install libstdc++5

    I then installed Lightning v0.9 via the link above and it now works beautifully.

  16. I have to install provider_for_google_calendar ? There are people who use the following method :
    # File->New Calendar
    # Select (*) On The Network
    # Select (*) CalDAV

    Thanks!

  17. Gabriel: You may instead use CalDAV, but then you need a different URL. See http://www.google.com/support/calendar/bin/answer.py?answer=99358#sunbird

  18. thanks from Argentina!! me sirvio mucho

  19. [...] your Google calender and contacts synchronized with Thunderbird, i suggest you take a look here: Stay in Sync with GCal and Thunderbird and Zindus Syncs Thunderbird with Google Contacts. I personally use both, and I can recommend them [...]

  20. [...] Extensões para o Thunderbird: Mozilla Lightning: Integra um calendário ao Thunderbird deixando-o com opções parecidas com o MS Outlook Google Calendar (Gcal) no Thunderbird + lightning: aqui! Manual. [...]

  21. [...] Extensões para o Thunderbird: Mozilla Lightning: Integra um calendário ao Thunderbird deixando-o com opções parecidas com o MS Outlook Google Calendar (Gcal) no Thunderbird + lightning: aqui! Manual. [...]

  22. Thanks, works- also for the Dutch :)

  23. Works if you have a gmail acct. We use Google’s hosted domain apps (i.e. email and calendaring). It keeps asking for a “gmail” acct password, but since we’re using our domain, it doesn’t work. The install is very straight-forward, tho.

  24. I’ve been using this for a long time without any incidents until I installed the new OS for my blackberry 8830 (ver. 4.5.0.135). After that, the calendar application changed and it now has the device default, the 2 email accounts I use, and my Sprint.blackberry.net account. I have only 1 calendar in Thunderbird and 1 in Google. Do you know what settings I need to change to get the calendar to sync properly? If not, do you know where I can find this information?
    Thanks!!

  25. thaks for your help, it works in thunderbird 2.0.0.22

    br,

    Óscar

  26. thanks very much. i followed your directions and it works fine, both ways. i wonder, though, why installation instructions aren’t included on the mozilla thunderbird website or that of the program creator. maybe i missed something but i had to do a web search to find installation instructions.

    in any event, good job and thanks!

  27. [...] Extensões para o Thunderbird: Mozilla Lightning: Integra um calendário ao Thunderbird deixando-o com opções parecidas com o MS Outlook Google Calendar (Gcal) no Thunderbird + lightning: aqui! Manual. [...]

  28. Thank you. This works much better than Zindus I was using previously.

  29. Hi, does anyone have the a solution to sync Sclaix webmail calender with iphone calender?
    Thanks

  30. [...] [image source: xaedalus] [...]

  31. SOLUTION for all who have LOGIN or PASSWORD problems:
    CHANGE your “XML”-links to your calendars from “http://…” to “https://…” and …

    … ENJOY!!!

    :)

  32. it says it needs atitional items i can not configure it in mozilla thunderbird 2.0.0.22

  33. [...] If you had trouble following these steps, or need more information about using the Provider plugin to connect Sunbird or Thunderbird/Lightning to Google Calendar, there is the Provider plugin documentation here and a graphical walkthrough here. [...]

  34. Great step by step tutorial. Thanks

  35. [...] Aquí les dejo el tutorial. [...]

  36. Thanks a ton. Works great.

  37. ciao
    ho un problema non riesco a collegarmi a google calendar, mi dice:
    che il protocollo SSL è stato disattivato… ma come?!

  38. Thank you for your excellent directions.

  39. very helpfull..thanks a lot

  40. I have been able to get my Google calendar into Thunderbird/Lightning with no problem. But my Thunderbird calendar entries do not seem to go to Google. Aren;t they supposed to? Or whenever I add a calendar item, I always have to enter it into the Google calendar and not my local one?

  41. Arthur, do you have Provider installed too? It’s working fine for me (in Linux anyway)

  42. this bi-directionality is an issue with me too.. you can get the info from gcal but not push anything forward..

  43. This is awesome!
    Thanks so much!

  44. Thank you for demonstrating how to set up a calender.
    it really help me out!
    Thank you!

  45. Thank you and the subject site’s outstanding
    good

  46. [...] [link] share it [...]

  47. [...] How To sync Thunderbird With Google Calendar [...]

  48. Fantastic Tutorial!
    Thanks!!!!!!!!!1

  49. Thank you you made it very easy to instal and synch both calendars

  50. For those experiencing the following issues and are not using provider (i.e. just CalDAV):
    a) My Calendar Stops Updating….
    …You must select for password manager to remember your password, and have the system auto-refresh every so often…

    b) Everything goes to my home calendar…
    …Delete/remove your home calendar, leaving only the google one…