Synchronizing with KDE Kontact

KOrganizer, Kalendar and KAddressBook can synchronize your calendar, contacts and tasks with a Nextcloud server.

This can be done by following these steps depending on if you use KOrganizer or Kalendar:

In KOrganizer:

  1. Open KOrganizer and in the calendar list (bottom left) right-click and choose Add Calendar:

KOrganizer calendar list context menu with Add option
  1. In the resulting list of resources, pick DAV groupware resource:

KOrganizer resource type list with DAV groupware resource selected

In Kalendar:

  1. Open Kalendar and in the menu bar open the setting and then choose Calendar Sources -> Add Calendar:

Kalendar settings menu showing Add Calendar option
  1. In the resulting list of resources, pick DAV groupware resource:

Kalendar resource selection dialog with DAV groupware resource option

In KOrganizer and Kalendar:

  1. Enter your username. As password, you need to generate an app-password/token (Learn more):

KOrganizer credentials dialog for entering username and app password
  1. Choose Nextcloud as Groupware server option:

KOrganizer groupware server selection showing Nextcloud option
  1. Enter your Nextcloud server URL and, if needed, installation path (anything that comes after the first /, for example mynextcloud in https://example.com/mynextcloud). Then click next:

KOrganizer server URL configuration dialog
  1. You can now test the connection, which can take some time for the initial connection. If it does not work, you can go back and try to fix it with other settings:

KOrganizer connection test in progress KOrganizer successful connection test result
  1. Pick a name for this resource, for example Work or Home. By default, both CalDAV (Calendar) and CardDAV (Contacts) are synced:

KOrganizer resource naming and calendar selection dialog

Note

You can set a manual refresh rate for your calendar and contacts resources. By default this setting is set to 5 minutes and should be fine for the most use cases. When you create a new appointment it is synced to Nextcloud right away. You may want to change this for saving your power or cellular data plan, so that you can update with a right-click on the item in the calendar list.

  1. After a few seconds to minutes depending on your internet connection, you will find your calendars and contacts inside the KDE Kontact applications KOrganizer, Kalendar and KAddressBook as well as Plasma calendar applet:

KOrganizer calendar application showing synchronized Nextcloud events KDE Plasma desktop with Nextcloud calendar events in the system calendar widget Kalendar month view showing synchronized Nextcloud calendar events KAddressBook contacts application showing synchronized Nextcloud contacts