---
author: einar
comments: true
date: 2011-06-11 10:06:29+00:00
layout: post
slug: access-multiple-google-calendars-from-korganizer
title: Access multiple Google Calendars from KOrganizer
wordpress_id: 919
categories:
- KDE
- Linux
tags:
- akonadi
- KDE
- korganizer
- Linux
---

Recently, a question came up on the KDE Community Forums [regarding the use of multiple Google Calendars with KOrganizer](http://forum.kde.org/viewtopic.php?f=20&t=91324). The preferred access up to now has been with googledata Akonadi resource, however that doesn't support more than one calendar, and (at least from my unscientific observation) seems to be rather unmaintained these days.

Luckily, not all's lost. Akonadi recently gained the opportunity of accessing CalDAV resources, and Google Calendar also offers a CalDAV interface, hence this is possible.

This post will briefly describe how (thanks go to PIMster krop, which casually mentioned the possibility on IRC and prompted me to investigate).



<!-- more -->



**Notice**: I am running trunk (4.7) so I have no idea if the steps posted below are possible in 4.6. Also, this worked for _me_ with my particular setup. YMMV.





First of all, you need to obtain the _calendar IDs_ you want to use. This is done in the web version of Google Organizer, in the settings page of your specific calendar, near the private links: it's a string of alphanumeric characters followed by _@gmail.com_. Copy it in full (even the address part) as you will need it later, and do it for every calendar you want to use.





Next, open KOrganizer, locate the list of the calendars, right click on an emtpy spot and select _Add Calendar:_

_  
_

_![](http://www.dennogumi.org/wp-content/uploads/2011/06/korgtut1.png)_

_  
_

In the next screen, select "DAV Groupware resource", then a wizard will come up. Fill in username and password (apologies for the language! I haven't found a quick way to switch these dialogs to English) and click on Next:

  


  


![](http://www.dennogumi.org/wp-content/uploads/2011/06/korgtut2.png)

  


_  
_

In the following screen, choose _Configure the resource manually:_

_  
_

_![](http://www.dennogumi.org/wp-content/uploads/2011/06/korgtut3.png)_

_  
_

Click on _Finish_, but you're not finished yet. In fact, we will have to add more stuff here. In the new window, select the display name (here shown as _Nome visualizzato_) of the calendar, then click on Add (which is translated as _Aggiungi_ in this screen):

  


![](http://www.dennogumi.org/wp-content/uploads/2011/06/korgtut4.png)

  


In the next screen we'll have to add what's needed for our calendar to work. In _Remote URL_ put _https://www.google.com/calendar/dav/YOURCALENDARID/events_ (https,** not** http) then put (again) your Google account credentials in the relevant places. Then click on "Download" (_Scarica_ here) and you will see (after a while) your Calendar being loaded in the "Found collections" pane, with the name you set in Google Calendar. Click OK to save the configuration.

  


![](http://www.dennogumi.org/wp-content/uploads/2011/06/korgtut5.png)

  


This will bring you back to the previous window. For more calendars, repeat the steps (click on Add, insert URL, Download, OK) for all the calendars you have to display.

That's it. If you encounter trouble, have a look at ~/.xsession-errors to see whether Akonadi managed to connect and download your existing items correctly. And don't forget to [file bugs!](http://bugs.kde.org)

_  
_

_  
_
