Меню Рубрики

Icloud drive для linux

Как «подружить» Linux с iCloud

Так сложилось, что я пользуюсь разными операционными системами. И периодически приходится решать вопросы их «мирного сосуществования».

В частности, у меня есть аккаунт iCloud (еще со времен «дот-Мак»), и я активно пользуюсь календарем iCal. С другой стороны, роль «мобильного офиса» играет дешевый нетбук с Xubuntu: почта, web, несложные офисные задачи — для этого его ресурсов более чем достаточно.

Конечно, у сервисов iCloud есть web-интерфейс… Но я привык пользоваться специализированными клиентами. В частности, почту автоматически собирает практически постоянно работающий Thunderbird. В свежей (38) версии в нем сразу установлен плагин календаря Lightning. Логично было бы синхронизировать его с Календарем iCloud. Это вполне реально… но требует некоторых неочевидных действий.

Коротко опишу процесс настройки работы и с почтой, и с календарями iCloud в Thunderbird.

Почта iCloud

Тут проще. Настройки официально документированы (ещё бы!). Но вводить их в Thunderbird нужно вручную. Мастер автоматической настройки, замечательно подхватывающий сервера, например, Яндекс-почты, здесь бессилен (хотя и упорно пытается «помогать»). Итак, ручками прописываем:

  • ваше имя, как его видят получатели;
  • адрес (ваше_имя@icloud.com);
  • сервер входящей почты: IMAP, imap.mail.me.com , порт 993, SSL/TLS, аутентификация простым паролем, логин — ваше_имя (без «собачки» и домена), пароль — ваш_пароль_iCloud ;
  • сервер исходящей почты (SMTP): smtp.mail.me.com , порт 587, STARTTLS, аутентификация простым паролем, логин — ваше_имя (без «собачки» и домена), пароль — ваш_пароль_iCloud .

Тщательно проверяем то, что получилось — у Thunderbird есть дурная привычка «помогать», меняя значения на такие, которые ему кажутся более правильными 😉

Запускаем проверку почты (при этом может появиться запрос пароля) — должны появиться заголовки писем из вашего ящика. Если нет, перепроверяем настройки.

Отправляем тестовое письмо на какой-нибудь другой свой адрес. Если отправка не происходит — перепроверяем настройки.

Почта заработала — переходим к календарям…

Календари iCloud

…и тут у меня есть две новости; как обычно, одна из них — хорошая. Календари iCloud используют для синхронизации совершенно стандартный CalDAV, с которым замечательно умеет работать и Lightning, и многие другие календари.

Плохая новость: никаких официальных способов узнать URL календарей Apple не предоставляет.

Однако, решение есть! Спасибо Даниелю Мюльбахлеру (Daniel Mühlbachler), который написал PHP-скрипт и Java-программу, позволяющие добыть нужные адреса.

  • переходим на страницу проекта icloud в GitHub и скачиваем архив groovy_java/gui-2.0.1.zip
  • распаковываем его (расположение роли не играет)
  • в подкаталоге bin находим файл gui (или gui.bat, если программулина запускается под Windows) и запускаем его в консоли:

  • в полях Apple ID и Password вводим, соответственно, логин и пароль к iCloud. Сервер из списка выбираем любой.
  • щелкаем Get calendar URLs
  • через некоторое время в нижней панели окна появится список адресов:

Среди этих адресов выбираем те, которые относятся к нужным календарям (по именам). К сожалению, копировать из этого окна не удается, так что придется переписывать длинную буквенно-цифровую последовательность вручную.

(Примечание: в качестве «бонуса» в списке обнаруживается и адрес Контактов — CardDAV)

Теперь возвращаемся к Thuderbird, переходим на вкладку календарей. Создаем новый календарь. Для него указываем расположение «в интернете» и на следующей странице — найденный нами ранее URL. Стараемся при вводе не ошибаться — после создания календаря редактировать поле адреса будет невозможно!

Когда щелкнем «Готово», после непродолжительной паузы появится окно с запросом логина и пароля iCloud. После их ввода еще небольшая пауза — и на экране появляются записи из Календаря iCloud. Если, конечно, вы не допустили ошибки при вводе URL 😉 (Если не повезло — удаляем календарь и создаем его заново. Без ошибок)

Если календарей, которые нужно синхронизировать, несколько — аналогично создаем все остальные.

Поздравляю! Вы настроили Thunderbird для работы с почтой и календарями iCloud!

Источник

Question: Q: How do I use icloud with Linux?

I use a Macbook Pro because it is the best available laptop hardware. On desktops I use Ubuntu and Debian systems.

Posted on Jan 27, 2012 9:36 AM

Helpful answers

You can access your iCloud data through a modern web browser at icloud.com.

You can access your iCloud email through any IMAP email client using these settings: http://support.apple.com/kb/HT4864

There is no iCloud control panel for desktop syncing for Linux.

Jan 27, 2012 1:37 PM

There’s more to the conversation

Loading page content

Page content loaded

There is no iCloud for Linux.

Jan 27, 2012 9:38 AM

You can access your iCloud data through a modern web browser at icloud.com.

You can access your iCloud email through any IMAP email client using these settings: http://support.apple.com/kb/HT4864

There is no iCloud control panel for desktop syncing for Linux.

Jan 27, 2012 1:37 PM

Ah it’s standards based! YAY. That’s what I was hoping.

I can work with this.

Jan 27, 2012 2:12 PM

Do you know the server settings so I can access the contacts and calendars within Linux? I’ve already set up my email.

Jun 18, 2012 1:58 PM

Use Google for Mail, Contacts, Calendars, Notes, etc. It’s. just better. And if you decide to switch from iPhone to something else, you will have all your data stored with Google instead of with Apple. You can’t easily sync iCloud data with any non-Apple device (with the exception of Outlook).

The server settings are in the link that Julian posted above. But here they are for redundancy.

iCloud Mail uses IMAP and SMTP standards supported by most modern email applications. You can use the server information below to manually configure your email application to send and receive iCloud Mail.

Notes:

  • If you are using Mail on a Mac with OS X Lion (v10.7.2 or later), or Microsoft Outlook 2007 or 2010 on a Windows PC, follow these instructions for automated iCloud setup.
  • If you are using Mail on a Mac with Mac OS X Snow Leopard (v10.6), or a device with iOS 4, see this article with specific instructions.

For more information on how to use this information with your email application, consult your application’s documentation.

IMAP (Incoming Mail Server) information:

  • Server name: imap.mail.me.com
  • SSL Required: Yes
  • Port: 993
  • Username: example@me.com (use your @me.com address from your iCloud account)
  • Password: Your iCloud password

SMTP (outgoing mail server) information:

  • Server name: smtp.mail.me.com
  • SSL Required: Yes
  • Port: 587
  • SMTP Authentication Required: Yes
  • Username: example@me.com (use your @me.com address from your iCloud account)
  • Password: Your iCloud password

Note: If you receive errors using SSL, try using TLS instead.

SSL is required for both IMAP and SMTP connection with iCloud. POP is not supported by iCloud.

Источник

How to install iCloud
on Ubuntu

iCloud

iCloud for Linux

Calendar • Contacts • Drive • Find My Friends • Find My iPhone • Keynote • Mail • Notes • Numbers • Pages • Photos • Reminders

What is iCloud?

See your photos, files, notes and more across all your devices. They are safe, up to date and available wherever you are.

Find your lost device

If you lose a device, use Find My iPhone to locate it, turn on Lost Mode or erase it remotely.

Collaborate with ease

Securely store your files in iCloud Drive so you can share them with friends and colleagues.

See your photos on any device at any time

Add or edit photos and videos on one device, then see them on all your devices.

Источник

How to use iCloud on Linux

Apple doesn’t take it’s Linux users seriously, even though a good chunk of people on the platform use iPhones. Due to their negligence, there isn’t a good way to use iCloud on Linux and users can’t access their data, photos, notes, etc.

To make up for Apple’s unwillingness to make an iCloud application on Linux, users can get around this by either installing the iCloud Snap app or, create their application with the Nativefier tool.

Note: to use iCloud on Linux via the iCloud Snap app or with a self-built Nativefier application, you must already have an Apple ID. For more information about that, click here.

Method 1 – iCloud Notes Snap app

The iCloud Notes Snap application is a simple browser wrapper packed into an easy to install Snap package. The point of the app is to give quick and easy access to iCloud Notes, but other features within Apple services are accessible as well, such as Mail, Photos, Contacts, and more.

To gain access to the iCloud Snap app on your Linux PC, you will need to be running the Snap package runtime. Without the runtime, Snaps won’t install, so it’s critical you get it working (if you don’t have it already.)

Getting the Snap runtime working on most Linux distributions is very easy these days, as almost all major Linux distributions support the runtime. For more information on how to set up Snaps, click here. Or, if you aren’t currently using a Linux OS with Snap support, consider switching to Ubuntu.

Install iCloud Notes Snap

With the Snap runtime set up on your Linux PC, the next step in the process is to download the iCloud application from the Snapcraft store and install it on your Linux PC. To do this, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, enter the snap install command below.

With the app installed, open your application menu up and search for “icloud-notes-linux-client,” or something similar. Immediately upon opening, you’ll be prompted to sign into Apple’s iCloud system with your Apple ID. Do so.

Assuming sign-in is successful, you’ll be transported to your iCloud Notes. From there you can view recently saved notes. If you want to access other iCloud services, go to the top-left part of the window where it says “iCloud Notes” and click the down arrow. Doing this will reveal other iCloud apps you can quickly switch to.

Method 2 – Make Linux iCloud app with Nativefier

Using the iCloud Notes snap package is fine for most users that don’t want to fuss around. That said, it’s far from the best experience you can get with iCloud on Linux, because it’s in a Snap, and can’t be modified. For a better experience, consider building your own using Nativefier.

It’s not very hard to build your iCloud app with Nativefier, mainly because the program does all the heavy lifting. All you’ll need to know is the right commands to enter in the terminal.

The first part of the process for creating your iCloud app is to install Nativefier. To do this, check out our in-depth tutorial. It goes over how to get it working on every mainstream Linux app out there. Once you’ve got Nativefier installed, open up a terminal, move the session to the tmp directory, and create a new build folder.

Next, use the wget downloader to grab the iCloud icon from the internet.

Now that you’ve got the iCloud icon file, it’s time to use Nativefier to package a Linux binary.

With the package done building, use the mv command and rename the output folder from “sign-in-to-i-cloud-apple-linux-x64” to “icloud.”

Place the new “icloud” folder into /opt.

Rename the icloud binary file from “sign-in-to-i-cloud-apple” to “icloud.”

After renaming the iCloud binary, you must update its permissions using the chmod command. Without the correct permissions, the app will not execute correctly.

Create a desktop shortcut

The iCloud nativefier application is set up on your Linux PC, but you can’t use it yet, as there isn’t a desktop shortcut. Thankfully, this is easy to fix. To start, open up a terminal and use the touch command to create a new shortcut file.

Next, open up the iCloud shortcut file in the Nano text editor.

Paste the code below into Nano.

[Desktop Entry]
Comment[en_US]= Access Apple iCloud on Linux.
Comment=
Exec=/opt/icloud/icloud
GenericName[en_US]=Apple iCloud desktop app.
GenericName=iCloud
Icon=/opt/icloud/resources/app/icon.png
MimeType=
Name[en_US]=iCloud
Name=iCloud
NoDisplay=false
Path=
Categories=Network
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application

Save the edit to the iCloud shortcut file by pressing Ctrl + X and exit with Ctrl + O. Then, finish up by updating the shortcut’s permissions.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Mac os lion 32 bit
  • Mac os library preferences
  • Mac os leopard iso amd
  • Mac os lenovo z5070
  • Mac os launchpad приостановлено