I’m using Arch Linux with the XFCE desktop environment.
In KOrganizer, I disabled “Monitor for changes” & “Automatically update every X minutes” in the individual calendar configuration.
Despite this, KOrganizer keeps updating the corresponding .ics file every 5 minutes. I know this because I the folder where every .ics is located in is synced to my cloud; so I have a log of all the (unnecessary) file versions being created in the cloud.
I know about stopping akonadi with akonadictl stop or kill -9 $(pgrep akonadi) but I’m looking for a better alternative.
How can I prevent KOrganizer from updating its .ics files every 5 minutes?
In my setup I have “Monitor for changes” on but the other settings off as well and the file remains unchanged unless I modify that calendar.
Can you check the contents of the respective configuration file?
For me the file is $HOME/.config/akonadi_ical_resource_2rc where the 2 is a counter so that could be any other number as well.
In my file there is essentially only the path to the ics file with the other settings being their respective defaults (monitoring ON, periodic update OFF)
I forgot to mention that this is my first time using KOrganizer or working with akonadi, so please forgive me if I don’t know where each config file is.
The file $HOME/.config/akonadi_ical_resource_2rc doesn’t exist on my system.
I am not sure if 0 will be considered valid or not.
Conceptually the value is the update interval in minutes, so theoretically you could try a really large value. (Maximum value for the data type is roughly 2 billion).
However it is weird that the value is even applied.
From what I can see in the code this value should only be used if the setting PeriodicUpdate=true is present in the file.
Since it is absent its default should be false, i.e. “OFF”, but you could try making that explicit with PeriodicUpdate=false
I wonder if it would not just be easier to “remove” the calendar and re-add it.