On 9/11/20 12:18, Javier wrote:
> On 9/11/20 9:01 AM, Jens John wrote:
>> If this is a limitation, it's a limitation of Akonadi that it doesn't monitor remote single files for changes. A workaround could be to use the local file source, let korganizer monitor it for changes, and sync the local file using wget/curl and a systemd --user timer. This should work flawlessly and be solid.
>> Personally, I'd suggest to think differently and get the ICS subscription into your DAV calendaring system first. CalDAV software or hosting worth its money should support some kind of calendar subscription. This is exactly what I'm doing; I have CalDAV as the single source of truth, and subscriptions of external calendars flow into the DAV calendars. At the endpoint device, I just need to connect to CalDAV to get everything from one source. This is also the setup I'm using with KOrganizer.
> BTW, I do have the external ICS web calendars subscribed into my DAV provider, which has of course its own personal calendar and a birthday calendar extracted from the contacts information.
> On Thunderbird, when you include the caldav calendar, Thunderbird automatically includes the ICS calendars as separate read only calendars that are periodically sync, and one can change the syncing period, besides the personal and birthday caldav calendars.
> On Android, I do have both, davdroid and icsdroid (now renamed to davx5 and icsx5), and when including the caldav calendar to davdroid, besides including the personal and birthday caldav calendar to davdroid, it automatically populates icsdroid (the partner app) with the ICS calendars, which are sync periodically with a configurable period, but common for all ICS calendars.
> On Korganizer though (having installed Kontact, Kaddressbook, Kmail and all other SW), when including the caldav calendar, only the personal and birthday event are included, that I remember, and I honestly don't recall if separate as individual calendars as on the case of Thunderbird and davdroid+icsdroid, or as just one combined calendar. But as I never saw the ICS calendars events, I just had to include them manually, and as ICS files was the only way I found to include them...
> I don't know if it was a matter of time to see all calendars reflected in Korganizer (I waited like half an hour, and then connected again the next day, and saw nothing).
> Perhaps I need to try it again...
I wanted to follow this suggestion, but I haven't been able to. I do have an /e/ account with caldav+cardav+mail service, and I have the external ics/ical web calendars subscribed in there, however, as mentioned, when korganizer does the sync with the caldav service, it doesn't bring any of the subscribed ics/ical calendars into the /e/ caldav service.
Is there another way to do this?
Perhaps I need a local service which doesn't expose through the network, and just serves caldav locally, and then somehow subscribe to it, the ics/ical remote calendars, and set the sync period per calendar (I need some ones every 15 minutes, other every hour, other every half a day), and then make the calcav client, in this case, korganizer sync with this local service? Does it exist? What to use? Hopefully something I can start when launching the desktop, since in the end kde-pim only makes sense on the desktop. I can deal with user cron jobs as well I'd guess... And if such tool exists, which exposes ics/ical remote calendars, periodically sync, as caldav ones, locally, can it just do all, like syncing caldav and cardav as well, and then the clients sync with such tool? Tha last is not required, but it would be interesting, it'd be like on aosp mobiles, where you get the davdroid+icsdroid doing all the sync of calendars and contacts, and then other clients, like k9 mail, etar calendar, and lineageos contacts, just read from them and write to them. That would be cool, though such ecosystem is not available on the desktop, and actually kontact (kde-pim) with kmail+korganizer+kcontact+kleopatra+... is what comes closer...
I'm still looking for this. Suggestions and guidance are really appreciated.
Thanks a lot !