Skip to main content

How to change default calendar for new events in Lightning

https://getsatisfaction.com/mozilla_messaging/topics/how_set_default_calendar_for_new_events_in_lightning

Edited version

  1. Open Tools > Options > Advanced tab, and click Config Editor button.
  2. In the "Filter:" box enter "calendar.registry" 
  3. Find a .calendar-main-default key - it will be set to true
  4. Other calendars either won't have a .calendar-main-default key (or it will be set to false)
  5. Right click on the value of the .calendar-main-default key that goes with the calendar that currently shows up by default in new events to toggle the value to false
  6. Click on the .calendar-main-in-composite key that goes with the calendar you want as default
  7. Right click on the same key and choose Copy Name from the menu that appears.
  8. Now right click on the key again and select New > Boolean
  9. Paste the name of the key and Use the backspace key to erase "in-composite" and type "default"
  10. Click OK and Choose true and click OK
  11. Now exit out of Thunderbird and restart

Comments

Senseq said…
If this is the way to change the default calendar. Best of luck in making thunderbird widely adopted.
Anonymous said…
It worked perfectly.
Thanks.
Unknown said…
There is a much easier way. Open the Lightning calendar tab. In the left pane uncheck all the calendars except the one you want to be your default. Then create an event (you can delete it later). Now go back and turn on all your other calendars. The calendar you just created the event with will now be your default calendar.
Anonymous said…
Thanks a lot Josh. Works perfectly and muuuuch easier !
GSystems said…
This comment has been removed by the author.
GSystems said…
Seems that now you're just tasked with highlighting the calendar you want the event in then creating the event.
Matt Studley said…
Excellent - thanks Josh, this works perfectly.
Anonymous said…
Ok...what about a right click, set as default? WTF! Seems pretty basic!
Anonymous said…
A mozilla.support.calendar list thread gives the answer:

> Switch to calendar or task tab. In the left panel you'll see a list
> of calendars. The selected calendar is the default calendar.

https://groups.google.com/forum/#!topic/mozilla.support.calendar/19mKLqtpKJU
XTRAN guru said…
Joshua -- thanks! A couple of refinements:

FWIW, with Thunderbird 38.3.0 / Lightning 4.0.3.1, the box is labeled "Search:", not "Filter:".

To find the name of a "calendar-main-default" key's calendar, look for a ".name" key with the same hex value.
matikp said…
Did anybody read cweiske's comment. It really is that simple!
Unknown said…
To Josh Knoedler: I tried it without success, it is still the last added calendar that comes up as default for tasks.

Any clue?

rgds
Pa said…
Thunderbird 52.5.0 32bit
Lightning 5.4.5

After I click the checkboxes to select the calendars I want to display, I then click on the name (not the checkbox) to highlight the one I want to be selected for new events.

Now, when I create an event, the highlighted calendar is the one used.

This selection survives an exit/startup sequence.

Apparently the hightlighted calendar is the default...
Unknown said…
Upvote to Pa, whose instructions are absolutely essential to a satisfactory outcome!
RJ said…
Bravo on coming up with a simple yet super effective fix.
JKL said…
Thank you, much, Josh.

Popular posts from this blog