In the past few days I've been searching around the web for a way to synchronize my KAddressbook contacts and KOrganizer calendar with my Google mail contacts and calendar. For those who don't know what KAddressbook and KOrganizer are I have to mention that they are applications of KDE's Kontact suite. Yeap, I am talking about Linux here. At first I found out GCalDaemon which is using an LDAP server to syncrhonize the Contacts. However the synchronization is one way and therefore it didn't fulfill my needs. And then I found out that the two way synchronization is easy by using KDE's Akonadi and the libgcal library. So, here is a guide I've written on how to synchronize gmail's contacts and calendar with KDE.For this guide I've used the latest KDE 4.3.4 along with Akonadi 1.2.1. I also had to install libgcal and akonadi-googledata from the libgcal project . I would advise you to install all of them through your distributions package manager. If libgcal and akonadi-googledata aren't available you will have to compile them on your own. Something else I would like to mention is that you'd better take a back up of your contacts and calendar first. The contacts synchronization isn't fully working. By that I mean that it doesn't synchronize all fields. I have tested thoroughly the calendar synchronization.
After you have installed all the needed software press Alt+F2 and KRunner will appear. Type akonadi and choose to run the Akonadi Tray Utility.

An icon will appear at the tray. Right click on it and select to start the Akonadi server.

Afterwards press the Configure option and move to the Akonadi Server Configuration tab. There press the Test button.

Make sure that you get no errors.

Next go to the Akonadi Resources Configuration tab and press the Add button. Select to add an Akonadi Google Calendar Resource.

You will be asked to supply your gmail username and password.

Press again the Add button and this time select to add an Akonadi Google Contacts Resource. Once again supply your username and password.

If the two resources are synchronized ok you should see something like this. Just press the Ok button.

Now run KAddressbook. In the Address Books window press the green cross and choose to add an Akonadi Address Book. If everything is ok your Gmail contacts should appear.
** Note: Some information of my contacts didn't synchronized correctly that's why I have advised you for taking a back up.

Next run KOrganizer. Again choose to add an Akonadi Calendar. And here is your Google Calendar synchronized with KOrganizer.

Here are two videos explaining the whole procedure created by the developer of libgcal and akonadi-googledata. Since this is open source software I'm sure the developer would be very happy to get some help. There are a few open issues that need to be fixed. Anyone with knowledge of C++ and Qt could definetely give some help!
Set as favorite
Bookmark
Email this
Hits: 5738
Trackback(0)
TrackBack URI for this entryComments (6)
Subscribe to this comment's feed...
Can I sync more than just my default Google Calendar? The only Google calendar that shows up for me is my default calendar, and that's not the one I use primarily...
...
As far as I could understand you can't synchronize an existing KOrganizer calendar with the Google calendar. You have to create an Akonadi calendar which will be synchronized with the Google calendar and then use this one as the default.
Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.