Can Lightning calendars be created with thunderbird.cfg?

786 views Asked by At

We have set up a calDav server and are planning deployment within our enterprise but are having trouble creating the calDav calendars in Thunderbird with Thunderbird.cfg, default.js, all.js or user.js. Is there a method of automating the creation of these Calendars in thunderbird or do we have to create an add-on to do this?

Any help would be appreciated.

1

There are 1 answers

2
Philipp Kewisch On

Lightning calendars can be created using standard preferences and then injected using the mechanisms you described (Thunderbird.cfg, default.js, all.js, user.js, ...). These are the mandatory prefs:

calendar.registry.{uuid}.type = "caldav"
calendar.registry.{uuid}.uri = "https://path/to/calendar/"
calendar.registry.{uuid}.name = "My Calendar"

And these are optional:

calendar.registry.{uuid}.cache.enabled = true
calendar.registry.{uuid}.color = "#330099"
// id1 must be the key as in prefs.js for the email identity.
calendar.registry.{uuid}.imip.identity.key = "id1"
calendar.registry.{uuid}.readOnly = true
calendar.registry.{uuid}.refreshInterval = 30 // minutes
// visible, i.e checked in the calendar list
calendar.registry.{uuid}.calendar-main-in-composite = true