In what file does gnome-calendar store calendar events?

Ask Ubuntu Asked by Astral Axiom on November 28, 2020

I am wondering where the file is that gnome-calendar ("Calendar") stores calendar events in.

I have Ubuntu 20.04 on my desktop and my laptop and I use megaCMD from to keep my most important folders in sync between the two devices by syncing those folders to same named folders on my mega root. I don’t sync the entire ~ because I have slightly different configurations on the two machines. I want to sync the folder which contains the file that has calendar events for gnome-calendar, or if it is not in ~, copy it somewhere in ~ and sync that file, and then have a start up script to copy it to where the file lives. This way the events will be synced between the two devices.

I have tried using find, but only found the executable, /usr/bin/gnome-calendar and the /usr/share/doc/gnome-calendar/ directory which does not contain anything useful for this purpose. I have searched on duckduckgo and StackExchange for any questions related to this one and found nothing. Does anyone have any idea where the file is?

Note: I have no interest in syncing to a Google calendar as I do not use Google.

One Answer

Gnome Calendar integrates with Evolution. It uses the data structures of Evolution to store your calendar.

A calender is stored in icalendar format in a calendar.ics file, located in a dedicated folder in ~/.local/share/evolution/calendar/. The name of the folder is a random string of 40 letters and numbers.

The calendar is named and registered to the Calendar (or Evolution) application through a text configuration file under ~/.config/evolution/sources/. These configuration files have the extension .source. The file name is the same 40 character string as the folder name where the calendar is stored.

Correct answer by vanadium on November 28, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP