Working with Google Calendar/en: Difference between revisions

From KDE Wiki Sandbox
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages />
<languages />
{{Warning|1=These instructions are only valid for the latest release of kdepim and Korganizer, version 4.3.7. There are significant differences in the older versions, therefore, some instructions may not apply.}}
{{Warning|1=These instructions are no longer needed because a Google Calendar resource is shipped with KDE. You do not need to use DAV any more. In KOrganizer simply go to Settings->General->Calendars and filter for google}}


{{Note|1= For demonstration purposes, the Google account used in this tutorial is sync.with.kontact@gmail.com}}
{{Note|1= For demonstration purposes, the Google account used in this tutorial is sync.with.kontact@gmail.com}}
Line 6: Line 6:
== Introduction ==
== Introduction ==


There are multiple ways to synchronize Google Calendar with the calendar provided in '''kdepim'''. For example, if you have already integrated Google Contacts with [[Working with Google Contacts|this guide]], then you have the ''libgcal0'' library already installed, however the method below is a more efficient alternative to using the '''Akonadi''' connection.


==Integrating Google Calendar with Kontact:==
==Integrating Google Calendar with Kontact through DAV resource==


To synchronize Google Calendar with '''Kontact''', firstly access the <menuchoice>Calendar</menuchoice> area of '''Kontact''' by selecting it in the left navigation bar. Next, open the configuration window by going to <menuchoice>Settings -> Configure Calendar.</menuchoice>
To synchronize Google Calendar with '''Kontact''', firstly access the <menuchoice>Calendar</menuchoice> area of '''Kontact''' by selecting it in the left navigation bar. Next, open the configuration window by going to <menuchoice>Settings -> Configure Calendar.</menuchoice>


Select the <menuchoice>Calendars</menuchoice> tab on the General area to prepare to add the Google calendar. Next, Select the <menuchoice>DAV groupware resource</menuchoice>. After this click <menuchoice>Cancel</menuchoice> when a prompt appears asking to ''“Enter your credentials to login to the groupware server”''.
Select the <menuchoice>Calendars</menuchoice> tab on the <menuchoice>General</menuchoice> area to prepare to add the Google calendar. Next, Select the <menuchoice>DAV groupware resource</menuchoice> (you may need to add this resource first by clicking <menuchoice>Add...</menuchoice> and selecting it in the list). After this click <menuchoice>Cancel</menuchoice> when a prompt appears asking to enter your credentials to login to the groupware server.


Another window will appear, and here you can enter the location of your Google Calendar resource. In the ''Server Configuration'' area, click on <menuchoice>Add</menuchoice>. Now, this opens the last window. Here, ensure that ''CalDAV'' is selected as the Remote calendar access protocol.
Another window will appear, and here you can enter the location of your Google Calendar resource. In the '''Server Configuration''' area, click on <menuchoice>Add</menuchoice>. Now, this opens the last window. Here, ensure that <menuchoice>CalDAV</menuchoice> is selected as the '''Remote calendar access protocol'''.


''The remote URL takes the form:
The remote URL takes the form:
<nowiki>https://www.google.com/calendar/dav/</nowiki>'''''GoogleCalendarID'''''/events/''
<tt><nowiki>https://www.google.com/calendar/dav/</nowiki>'''''GoogleCalendarID'''''/events/</tt>


For your main calendar, the '''''GoogleCalendarID''''' is your Google account (Gmail address). The '''Username''' is also your Google account while the '''Password''' field is your Google account password.
For your main calendar, the '''''GoogleCalendarID''''' is your Google account (Gmail address). Select <menuchoice>Use specific credentials</menuchoice>. For <menuchoice>Username</menuchoice> again use your Google account while the <menuchoice>Password</menuchoice> field is your Google account password.


After this information is entered, pressing the <menuchoice>Fetch</menuchoice> button will enable '''Kontact''' to sync with Google to discover your calendar. Your calendar should display in the '''Discovered Collections''' window below.
After this information is entered, pressing the <menuchoice>Fetch</menuchoice> button will enable '''Kontact''' to sync with Google to discover your calendar. Your calendar should display in the '''Discovered Collections''' window below.


Press <menuchoice>OK</menuchoice> and allow [[Special:myLanguage/KDE_Wallet_Manager|KDE Wallet]] integration as ''Always'' for convenience. To add additional calendars, simply click the <menuchoice>Add</menuchoice> button to follow the same procedure as above.
Press <menuchoice>OK</menuchoice> and allow [[Special:myLanguage/KDE_Wallet_Manager|KDE Wallet]] integration as <menuchoice>Always</menuchoice> for convenience. To add additional calendars, simply click the <menuchoice>Add</menuchoice> button to follow the same procedure as above.


{{Note|1=For other Calendars, the calendar ID can be obtained by pressing the down arrow, and selecting <menuchoice>Calendar Settings</menuchoice> via www.google.com/calendar.}}
{{Note|1=For other Calendars, the calendar ID can be obtained by pressing the down arrow, and selecting <menuchoice>Calendar Settings</menuchoice> via www.google.com/calendar.}}

Latest revision as of 17:34, 20 September 2013

Warning
These instructions are no longer needed because a Google Calendar resource is shipped with KDE. You do not need to use DAV any more. In KOrganizer simply go to Settings->General->Calendars and filter for google


Note
For demonstration purposes, the Google account used in this tutorial is sync.with.kontact@gmail.com


Introduction

Integrating Google Calendar with Kontact through DAV resource

To synchronize Google Calendar with Kontact, firstly access the Calendar area of Kontact by selecting it in the left navigation bar. Next, open the configuration window by going to Settings -> Configure Calendar.

Select the Calendars tab on the General area to prepare to add the Google calendar. Next, Select the DAV groupware resource (you may need to add this resource first by clicking Add... and selecting it in the list). After this click Cancel when a prompt appears asking to enter your credentials to login to the groupware server.

Another window will appear, and here you can enter the location of your Google Calendar resource. In the Server Configuration area, click on Add. Now, this opens the last window. Here, ensure that CalDAV is selected as the Remote calendar access protocol.

The remote URL takes the form: https://www.google.com/calendar/dav/GoogleCalendarID/events/

For your main calendar, the GoogleCalendarID is your Google account (Gmail address). Select Use specific credentials. For Username again use your Google account while the Password field is your Google account password.

After this information is entered, pressing the Fetch button will enable Kontact to sync with Google to discover your calendar. Your calendar should display in the Discovered Collections window below.

Press OK and allow KDE Wallet integration as Always for convenience. To add additional calendars, simply click the Add button to follow the same procedure as above.

Note
For other Calendars, the calendar ID can be obtained by pressing the down arrow, and selecting Calendar Settings via www.google.com/calendar.


Press OK to finish adding the Google Calendar and then it should start to synchronize with Kontact. In the calendars list below, check the box beside your Gmail address to enable the display of a calendar. To refresh events, simply press F5.

Animated GIF Tutorial

Note
This animated GIF recaps the steps taken to obtain Google Calendar synchronization.



Congratulations, you have successfully setup Google Calendar Integration with Kontact!