Radicale icon indicating copy to clipboard operation
Radicale copied to clipboard

Color of calendar disappearing due to RGB clash (+ current set up)

Open harryHoward opened this issue 3 years ago • 1 comments

I may have resolved a problem of the color of a calendar disappearing when syncing with Thunderbird, plus my setup is perhaps a little more up to date than the documentation.

Hardware: MacBook Pro 2017 with OSX 10.13.6 High Sierra <> Moto g fast with Android 11 Software workflow: Thunderbird 91.4.1 <> Radicale 3.1 <> DAVx5 4.1 <> Tasks 11.12.3 + Google Calendar

Radicale path:

Mac/Users/my_user/var/lib/radicale/collections/…

(Note that I wanted to use the standard var directory so it is not prefixed with a dot.)

Set up:

  1. Install Thunderbird and Radicale on Mac; F-Droid and then DAVx5 and Tasks on Moto.
  2. In Terminal window used to install Radicale, start server with

$ python3 -m radicale --storage-filesystem-folder=~/var/lib/radicale/collections --server-hosts=0.0.0.0:5232

  1. Open Radicale Web Interface in browser with http://localhost:5232/ and create credentials (I forgot exactly how I did that).
  2. Click on "Create new addressbook or calendar".
  3. Give it a title and description and keep default "calendar, journal tasks".
  4. Pick a color and write down its RGB coordinates.
  5. Click on "Create" and copy the URL to the clipboard.
  6. Open Thunderbird and click on Calendar "+" to create a new calendar.
  7. Select "On the Network"; click "Next".
  8. Type your Radicale user into Username and paste the URL into Location. Click on "Find Calendars".
  9. In the new window (Create New Calendar), click on "Properties".
  10. In the new window (Edit Calendar), fill in the Calendar Name with the calendar's title.
  11. Click on the color, go to the RGB sliders and fill in the RGB coordinates from Radicale. (I originally used the pencils, which would never correspond to the RGB coordinates of Radicale. I think that was the cause of the disappearing calendar color.) Click on "OK".
  12. You should see the new calendar in the calendar list. Click "Synchronize" at the top left.
  13. Pick up your phone, open DAVx5 and create a user from your Radicale credentials. I forgot exactly how I did that, but the crucial step is to set the server address to an IP address on your Mac. I used the IP address of my wifi client, found in the Network Control Panel. Be sure to suffix the port "5232" with a colon. (Several hours of my life were lost figuring that out.)
  14. Open your user account in DAVx5 (if not already open), press "CALDAV" and you should see your calendar. If not, press the three dots and "Refresh your calendar list". (Every time you change a calendar in Radicale, you have to refresh the calendar list in DAVx5. Again, I lost several hours of my life figuring that out.) Check the box for the calendar.
  15. Hit the refresh button at the bottom right.
  16. You may have already run across the screen in DAVx5 that asks for permissions for Tasks. You can add it now if you haven't done so already.
  17. Open Tasks and sync by dragging down from the top. If you haven't made any tasks in Thunderbird, none will appear. Otherwise, I have found Tasks to work on its own.
  18. If you are a newbie like me, it may not be immediately clear that the Radicale server must be running for all this stuff to work together. So start the server first thing. I am working on a way to start it when I log on to my user account on my Mac.

So far, everything works together rather well, though I am not sure that the disappearing calendar color is actually fixed. I have not tried to work with contacts yet, but I have done lots of tasks and calendar entries.

harryHoward avatar Jan 05 '22 22:01 harryHoward

In Thunderbird the calendar type must not be iCalendar (ICS). It must be CalDAV, otherwise you will experience problems like the calendar color disappearing.

When you add the calendar to Thunderbird, you can just enter the server address and port into the address field (like DAVx5) and it will find all your calendars automatically. (Also, this way I doesn't let you select the wrong calendar type.) I need to update the documentation on this, it's a new feature of Thunderbird that I didn't know about.

Unrud avatar Jan 06 '22 15:01 Unrud