Is there a way for a busy person to be able to put an item on my iCloud Calendar and have the event added to a main KOrganizer calendar automatically, and vice versa?
-
I don't think there's an iCloud Sync for Linux. In Windows this is done with its own executables. – Thomas Ward Oct 21 '14 at 18:53
-
1Yes. iCloud has caldav support. You can use kOrganizer to add any caldav account. To do that you will need iCloud caldav calendar url. See this topic https://forum.kde.org/viewtopic.php?f=15&t=81241 – Khurshid Alam Oct 21 '14 at 19:40
4 Answers
Here is how I did this, thanks to the advice from @Khurshid_Alam:
- Download an iCloud CloudDav discovery program called
icloudfrom its GitHub page. - Extract
icloud-master/groovy_java/gui-2.0.1.zip. (Be sure to read the README as apparently there are legal issues...) - Run
icloud-master/groovy_java/gui-2.0.1/bin/gui. - Type in Apple ID Credentials and select a server. Any server will work. Click "Get calendar URLs".
- Click the URL on the far right next to the name of the main Calendar, Ctrl+C to copy it.
- In KOrganizer, right click your calendar folder display (by default it is on the bottom left) and select Add Calendar.
- Click "DAV Groupware Resource". Enter in your Apple ID credentials, select the "Configure the resource manually".
- Allow access to the wallet, if the window comes up, and if applicable.
- A new window will come up with "Server configuration" at the bottom. Click "Add" to the right of it, paste the copied URL into the "Remote URL" box, and click "Fetch". When you click "OK", the calendar will be added and automatic uploading and downloading of calendar data will be possible.
- Have fun!
- 8,462
- 11
- 46
- 72
-
If you have 2FA, check this link: https://github.com/muhlba91/icloud/issues/12 – Petter H Aug 25 '17 at 20:38
-
The linked utility appears to be abandoned and no longer returns calendar URLs. – ghostly_s Mar 04 '22 at 00:09
-
I began on step #4 and it worked fine for me, and I have 2FA, just used the URL: https://pXX-caldav.icloud.com and my login from step #4, and it pulled in all my stuff. It worked like a charm. I found the URL by clicking the WiFi icon in iCloud. It gives you an option to make the calendar public and I used the first part of that URL. – mrClean Jun 10 '22 at 20:57
This worked in August 2019:
- Open your Calendar App on iCloud.com or iPhone
Make calendar public to check the direct link to the server. It might looks like these:
https://p15-caldav.icloud.com
https://p16-caldav.icloud.com
etc...
Calendar doesn't need to be public anymore. Make calendar private again if you wish.
- Go to https://appleid.apple.com and generate password for third-party application. Label it as 'KOrganizer'.
- Open KOrganizer, Add Calendar as "DAV Groupware Resource". Enter in your Apple ID, generated password and select the "Configure the resource manually".
- Add url from step 2. This link will add all calendars from icloud. It is possible to sync only selected calendars.
- 11
- 1
-
Links in this format are not valid anymore: https://pXX-caldav.icloud.com/
/calendars/ – VV0JC13ch Aug 30 '19 at 21:35 -
I just followed all these steps but used the URL: https://pXX-caldav.icloud.com and my login from step #4, and it pulled in all my stuff. It worked like a charm. It seemed to convert the https url to http and tack on the secure port 443, but it was my first time using KOrganizer. Worked really well. – mrClean Jun 10 '22 at 20:53
Right now I can verify that KOrganizer is not sending authorization headers:
See this post on Sync with icloud Caldav
There is a bug open for this, but no action in 6 months:
https://bugs.kde.org/show_bug.cgi?id=434757
- 2,030
- 8
- 20
- 27
- 211
- 2
- 4
Since this thread is highly ranked on Google, I'll add a new reply despite it being quite old. I've fixed this issue and it should be working with the next release of kdav (presumably > v5.90.0).
The accepted change in KDav - GitLab fixed an error in the usage of the calendar-multiget retrieval As documented in https://datatracker.ietf.org/doc/html/rfc4791#section-7.9 , ics files inside the request are referenced via their relative path. The change corrects this behavior. This is what was preventing KDav from working with iCloud.
- 110,292
- 102
- 269
- 299
- 19
- 1