Image of the glider from the Game of Life by John Conway
Skip to content

Synchronize Mozilla Lightning with Google Calendar

More and more, I'm impressed with the capabilities of Mozilla Thunderbird. Although there are a lot of default options that I don't think are set correctly, It's got to be my favorite mail user agent (MUA). However, Thunderbird by itself does not have any calendaring or tasks management. As such, proponents of Microsoft Outlook like to tout why other MUAs other than Outlook are sub-par. And rightfully so. Even if Thunderbird were to add calendaring and tasks management into the native client, there is still a great deal of integration with other software that Thunderbird would not provide, such as Live Meeting and Communicator integration that Outlook provides. At any event, even if Thunderbird isn't the crème de la crème of MUAs (which is a debate that we'll save for another time), it's rock-solid, it's extensible, it's standards-compliant and it does its job very, very well. We'll look at one extension, that in my opinion, really makes it shine.

Because Mozilla Thunderbird lacks native calendaring and tasks support, there is an extension that makes this possible. Enter Mozilla Lightning. Initially, Mozilla had been providing a stand-along application called Sunbird, as well as the Lightning extension. However, as of April of this year, Mozilla announced their intention to drop Sunbird in favor of Lightning. In my opinion, this was the right move. I never really understood why there was a separate stand-alone application to begin with. Integrating it into Thunderbird just made sense, and made Thunderbird a better competitor on the MUA stage.

After installing the extension and restarting Thunderbird, it's time to get your calendar setup with Google Calendar. If you're anyone like myself, I use a vast array of Google services- Gmail, Calendar, Reader and so on. I've been keeping my calendar and tasks in Google Calendar for a while, so when I setup Lightning, I wanted it to synchronize with Google Calendar both ways. In other words, I want to add to my calendar from Google, and see the update in Thunderbird, as well as make a change in Thunderbird and see the update in Google. Fortunately, Google recognizes the importance of this, as do the Lightning developers. The synchronization is enabled through CalDAV. CalDAV is an open standard, so rock on.

It's important to note that only Mozilla Sunbird 0.8+ and Lightning in Thunderbird support CalDAV synchronization. Grabbing 1.0 beta 2, which is the latest and greatest as of this post will get you covered. Setting up CalDAV with Lightning is rather trivial. These instructions are taken directly from the Google Calendar help page on the subject. Also, Lightning comes with Tasks support, as does Google Calendar, but tasks will NOT be synchronized with CalDAV. Only your calendar. I don't have a solution yet for this.

  1. Open the calendar application, ond select File > New Calendar. Screenshot.
  2. Select On the Network and click Next. Screenshot.
  3. Select the CalDAV format option. NOTE: Do not select the Google Calendar option. That is for read-only, and won't allow you to setup to two-way synchronization that we're after.
  4. In the Location field, enter "https://www.google.com/calendar/dav/username@gmail.com/events" where "username@gmail.com" is your Google Calendar username (just your email address), and click Next. Make sure you're using "https://", or secure HTTP as plain "http://" won't work. Screenshot.
  5. Enter a name and select a color for your calendar. Screenshot.
  6. In the pop-up screen, enter the following information:
    • Username: This is the complete email address you use with Google Calendar (including the domain after the @ sign). If you're using Google Apps, be sure to enter your Google Apps email address.
    • Password: Enter the password associated with your Google account.
  7. Click OK.

That's it! You now have a fully working synchronization between your Thunderbird MUA and Google Calendar.

{ 10 } Comments

  1. John using Google Chrome 8.0.552.0 on Ubuntu | October 18, 2010 at 8:05 pm | Permalink

    That is a great feature, regrettably it only seems to work on your primary calendar - unless I'm just being particularly dense. To work with other Google calendars you can add the 'gdata-provider' extension (provided by the lightening developers); if you add a calendar with a google URL it will ask you for your username and password to allow syncing of the calendar.

  2. David using Konqueror 4.5 on Kubuntu | October 18, 2010 at 8:23 pm | Permalink

    I used to be an avid TB user and supporter but found it to be too sluggish and rather "everything including the kitchen sink" so I switched to a far simpler and very fast client instead...ClawsMail. Personally I feel that simpler often is better and speedy rather than sluggish makes me want to use any application rather than feeling forced to put up with it.

  3. Dave Mawdsley using Firefox 3.6.10 on Ubuntu | October 18, 2010 at 8:49 pm | Permalink

    Thanks very much for the write-up on using a Google calendar with Lightning. It works just great and solves a synchronization problem with my wife's calendar.

  4. dragonbite using Internet Explorer 8.0 on Windows XP | October 19, 2010 at 6:52 am | Permalink

    I would love it if there was a wizard or something making it easiser. Choosing Google works great, except for it being read-only (been bitten by that a couple of times).

    I've used the Private iCal link to get read-write access to all 4 of my calendars for a while now, but with mixed results. Seems the latest version (in Ubuntu 10.04) it works.

    Now if only can get the Calendar in Gnome to use Lightning instead of Evolution's calendar for when you click on the time.

  5. lol using Internet Explorer 7.0 on Windows XP | November 2, 2010 at 10:25 am | Permalink

    Checking if pthree.org recognises the best browser in the world and the best OS in the world.

  6. Darrell using Firefox 3.6.12 on Ubuntu 64 bits | November 2, 2010 at 12:33 pm | Permalink

    Thanks man! Perfect.

  7. Valerio using Firefox 3.6.12 on Mac OS | November 12, 2010 at 12:12 pm | Permalink

    Since yesterday, it seems that Thunderbird+Lightning to a DAV Google Calendar doe not work anymore.

    Did you notice as well?

  8. Aaron using Google Chrome 7.0.517.44 on Windows XP | November 12, 2010 at 1:34 pm | Permalink

    No. I'm not having any synchronization issues here. If Google is shutting this down, it hasn't affected my account yet.

  9. Mez using Google Chrome 10.0.628.0 on GNU/Linux | January 9, 2011 at 10:02 am | Permalink

    As said in the very first comment, to get write access, you can download the add-on "Provider for Google Calendar". It's been working perfectly fine for me since like 2007.

  10. Jack using Firefox 8.0.1 on Windows Vista | December 20, 2011 at 12:22 pm | Permalink

    Google shows how to get non-primary calendars in Lightning.
    http://support.google.com/calendar/bin/answer.py?hl=en&answer=99358#sunbird

Post a Comment

Your email is never published nor shared.

Switch to our mobile site