How to Sync iCloud Mail, Calendar, and Contacts with Ubuntu 19.04Posted on Updated on
If there is an operating system that Apple completely ignores, it is Linux. To this day, Apple has yet to develop any version of its popular software, such as iTunes and iCloud Drive, for Linux. However, if you are a user of iOS devices such as the iPhone or iPad, there are ways to access iCloud services with Ubuntu.
In this tutorial, you will learn how to sync your iCloud email, calendar, and address book on Ubuntu 19.04 (Disco Dingo). We’ll see how to set up Evolution and Thunderbird, two favorite email clients on Ubuntu.
Step One: Create an Apple App-Specific Password
Before you begin software configuration, you need to create an “application password” from your Apple account:
- From your iOS device (iPhone or iPad), go to
Settings > Apple ID > Password and Security.
- Activate the two-factor authentication and follow the instructions to complete the process.
- Using your web browser, sign in to your Apple account
- Scroll down to the “Security” section and click “Generate Password …” under “Application Passwords.”
- Enter a label to identify the application password (e.g., Evolution) and click on “Create.”
- Make a note of the password generated and click on “Done”:
Let’s move on to the software configuration.
Connecting to iCloud with Evolution Software
Developed by Gnome, the Evolution email client software is probably the easiest to sync with iCloud.
Installing and configuring the Evolution software
The Evolution software can be installed using the “Ubuntu Software” application under Gnome or using “Discover” under KDE. However, if you prefer to use the command line, use these commands:
sudo apt install evolution -y sudo apt install evolution-ews -y
Evolution: Connecting to iCloud e-mail
When using Evolution for the first time, you will be prompted to set up an email account:
Click “Next” to the “Identity” section. Enter your iCloud name and email address:
Evolution recognizes iCloud addresses and detects the configuration required for receiving emails. In the “Username” field, enter the name of your mailbox without the “@icloud.com” portion:
In the next step, enter the same username for sending an email:
Click “Next” until the configuration is complete. You will then be prompted to enter the password generated at the beginning of this tutorial:
You can now access your iCloud emails with Evolution.
Evolution: How to Sync the iCloud Calendar
The connection to the iCloud calendar uses the CalDAV protocol. In short, this is an extension to the WebDAV protocol, which allows online access to an iCalendar format calendar.
To connect a new iCloud calendar, click File > New > Calendar and select CalDAV.
Enter a name to identify the calendar and enter this URL: https://caldav.icloud.com/
Enter your full email address in the “User” and “Email Address” fields:
Then click Find Calendars. When prompted to authenticate, enter the password generated at the beginning of this tutorial. Then select the desired calendar from the list and click on “OK”:
Click on the “Submit” button again in the “New Agenda” window. A CalDAV calendar group now appears in Evolution:
Evolution: How to Sync iCloud Contacts
The iCloud address book uses the CardDAV protocol. CardDAV is a standard Internet protocol for synchronizing contacts. It is built around the HTTP-based WebDAV protocol and uses the vCard format for contact data.
To connect to an iCloud address book in Evolution, click File > New > Address Book. From the drop-down list, select CardDAV and enter a name for the address book.
In the “URL” field, enter the following address: https://contacts.icloud.com/
Then enter your iCloud email address in the “User” field and click the Find Address Books button.
Select your address book from the list and click “OK.” Note that Evolution will automatically adjust the URL of the address book. Therefore, do not change the new value. Click on “OK” to finish adding the new notebook.
Connecting to iCloud with Thunderbird Software
Developed by Mozilla, Thunderbird is another popular email application among Linux users. Unfortunately, Thunderbird does not offer a calendar natively. However, we can fix it with extensions.
Here’s how to install Thunderbird:
sudo apt install thunderbird
Once the installation is complete, launch it.
Thunderbird: Connecting to iCloud Email
When it first runs, Thunderbird will prompt you to set up an email address. Enter your iCloud email address and your Apple password (generated at the beginning of this tutorial) and click “Continue”:
Thunderbird will automatically detect the incoming and outgoing server settings. Click on “Done” to complete the configuration.
Thunderbird: How to Sync iCloud Calendars and Contacts
Before you can connect to your iCloud address book and calendar, you will need to install some extensions. From the main menu, click “Add-ons”.
From the left menu, click on Extensions and then search for “lightning.”
Install the following extensions: Lightning, LightningButton, Lightning Calendar Tabs, TbSync and Provider for CalDAV & CardDAV. Restart Thunderbird.
From the main menu, click Add-ons > TbSync. At the bottom of the Accounts column, click the Account actions > Add new account menu and select CalDAV & CardDAV.
In the list, select iCloud and click on “Next.” On the next screen, enter your full iCloud email address and the previously generated application password and click “Finish”:
Check Enable and synchronize this account and select the address book and iCloud calendar to sync in the list.
Click the Synchronize now button and close the window. The selected address book and calendar will now be synchronized automatically.
One Reply to “How to Sync iCloud Mail, Calendar, and Contacts with Ubuntu 19.04”!
If you had to choose, which would you prefer ? Evolution or Thunderbird