Jump to content

Working with Google Calendar: Difference between revisions

From KDE UserBase Wiki
Claus chr (talk | contribs)
Marked this version for translation
Google resource is now shipped with KDE; Removed deprecated libgcal section.
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{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}}


<!--T:2-->
<!--T:2-->
Line 9: Line 9:
== Introduction == <!--T:3-->
== Introduction == <!--T:3-->


<!--T:4-->
There are multiple ways to synchronize Google Calendar with the calendar provided in '''kdepim'''. For example, if you have already integrated Google Contacts with [http://http://userbase.kde.org/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:== <!--T:5-->
==Integrating Google Calendar with Kontact through DAV resource== <!--T:5-->


<!--T:6-->
<!--T:6-->
Line 18: Line 16:


<!--T:7-->
<!--T:7-->
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.


<!--T:8-->
<!--T:8-->
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'''.


<!--T:9-->
<!--T:9-->
''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>


<!--T:10-->
<!--T:10-->
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.


<!--T:11-->
<!--T:11-->
Line 34: Line 32:


<!--T:12-->
<!--T:12-->
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.


<!--T:13-->
<!--T:13-->

Latest revision as of 16:27, 3 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 [email protected]


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!