I’m perplexed

How set default calendar for new events in Lightning?

My Lightning app calls on three calendars: my own Google calendar; my son's; and US Holidays.

Regardless of the order in which they appear in the Lightning sidebar, when I open a new event, the default calendar is always US Holidays -- to which I obviously don't want to add a personal event. Because the personal calendar entries are color coded red, it's important that personal events be taken into my personal calendar. Right now, I have to change the calendar each time I enter an event, and believe me I don't always remember to do that..

How can I set the personal calendar as the default calendar, so that every time I open the dialog box to add an event the personal calendar is the one that automatically appears in the new entry dialog? If I can't set it as the default, I am pretty much guaranteed to make mistakes and miss appointments every once in a while.
7 people have
this question
+1
Reply
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • I stumbled on one quick way to take care of this problem, though it's not a complete solution. Right-click on the US Holidays calendar in the right pane, select Properties, and then set it as "Read only."

    Still, it would be better if there were a way to choose your default calendar for new events.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • I’m Happy to help.
    6
    Here's what works for me:

    Open tools/options, select the Advanced tab, and click the Config Editor button.

    Promise to be careful, and you'll get a screen full of configuration keys from your prefs.js file.

    At the top of the window is a "Filter:" box. Enter "calendar.registry" (no quotes) and you'll get a list of registry keys that describe your various calendars.

    You will notice the strings of numbers following calendar.registry come in groups. In each group is a .name key that contains the name by which you know each calendar, for example "US Holidays", "my calendar", "my son's calendar", etc.

    In the group that represents the calendar that comes up by default when you create a new event, you will find a .calendar-main-default key and it will be set to true. The other calendars either won't have a .calendar-main-default key, or it will be set to false.

    To start, right click on the value (should be true) of the .calendar-main-default key that goes with the calendar that currently shows up by default in new events (this would be the key that goes with the US Holidays calendar in gallireport's question above) and select toggle to change the value to false.

    If the calendar you want as your default already has a .calendar.main.default key, just right click on its value, which should be false, and choose "Toggle" to set the value to true. Close everything, restart, and your desired calendar should be your default for new events.

    If, like my system, the calendar you want as default doesn't already have a .calendar.main.default key, you'll have to create one. Don't panic, it's not hard.

    First click on the .calendar-main-in-composite key that goes with the calendar you want as default. This will highlight the key. Now right click on the same key and choose Copy Name from the menu that appears.

    Now right click on the key again and select New>Boolean from the drop-down menu. Paste the name of the key you copied a minute ago in the box that appears using Ctrl-V, but don't say OK yet.

    Use the backspace key to erase "in-composite" from the end of the key name, and type default there instead.

    Now click OK and a box will appear asking you to set the value of your new key to either true or false. Choose true and click OK.

    You may have to exit the configuration editor and restart it to see your new key. I have to do this about half the time, I'm not really sure why. Whether or not you exit the configuration editor and and restart, however, your new key will be in the configuration file

    Now exit out of Thunderbird and restart. Open up a new event on your calendar, and you should find that the calendar you chose is now the default.

    I wish I had a box to check or something simpler for you, but this procedure has worked for me a couple of dozen times now. I hope it works for you.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • Thank you! That did the trick for me. Actually, neither of my calendars had a .calendar-main-default key, but creating one for my primary calendar caused it to start showing up as the default when I create a new event.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • Still don't understand why you need such a complicated solution. Just select a writable calendar in the left pane and it will be used as default calendar for new events and tasks.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • If you don't "select" the Holidays calendar, the holidays don't show up on the calendar, so that's obviously a non-starter. If you make the Holidays calendar read-only, but it's still defined as the default, you can't move calendar entries without changing the properties on Holidays (apparently, when you try to move an entry, even though it's not on the Holidays calendar, it thinks you need access to that default calendar to make the move).

    Trust me, without this solution, it really, really wasn't working properly.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • I'm sorry if my description was too vague. By selecting the calendar in the left pane I did not refer to the checkbox that toggles calendar display.

    Click on e.g. the calendar name to select it. On my system the entire row including checkbox, calendar name and icon now gets a different background color and some kind of focus rectangle. This calendar is now the default one for e.g. new events or pasted events or calendar import. Of course this calendar should be writable. In read-only calendars you cannot add, move, change or delete entries.

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • I’m frustrated.
    I have 15 different calendars in Lightning. Both methods suggested above work if they are the last calendar selected when Thunderbird is shut down. Upon re-loading Thunderbird the last calendar previously selected has become the default.

    However, these settings do not persist from session to session. It is always the last calendar selected which becomes the default.

    I am looking for a way to create a default calendar which ALWAYS shows as default upon start-up of Thunderbird, regardless of what I last selected in the previous session. That is, I'm looking for a permanent default, or an "over-riding" default, or a "persistent" default, depending on how you name it. "Persistent" is my need.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • I have a similar problem and want to explain why just selecting the calendar in the left pane is NOT a proper solution for me:

    Because my google calendar does not support tasks I created a local calendar to maintain my tasks. To use the "quick" text field (bottom right) to add a new task, it is necessary that my task calendar is selected in the left pane.
    In turn selecting the task calendar in the left pane leads to the fact that my task calendar is also used as default when creating new calendar events. I always have to change the destination calendar manually when creating new calendar event...

    Parameters to separately specify the default calendar for new tasks and new calendar events would be GREAT!!!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • Thanks for the solutions. I had initially looked at the settings and had noticed the solution ssitter proposed had already modified those settings for me. To override this automatic behavior of changing the settings when the calendar is selected would probably require you either save a copy of prefs.js to be restored at boot time, or write a program/script that changes just those settings - a level of hacking I would not be willing to undertake, and I'm not shy about hacking my system. The solution by ssitter is the simplest and provides all the functionality of modifying the keys by hand.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • Ssitter - the other issue with this solution (which by the way works well - thanks!) is that the selected calendar is what is used for tasks.

    My tasks need to be in one calendar, and my events in another. This means I'd be constantly switching calendars
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • I’m thankful
    thanks schultzwn - that worked great!

    I made an edited version because I needed an easier to read version:

    http://neocodesoftware.blogspot.ca/20...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • Hmmm... I can not understand, how schultzwn's solution works for someone...
    When I change the "calendar-main-default" key in the properties, each time I select another in the calendar list pane, these properties are reset by Thunderbird automatically:
    Thunderbird automatically deletes the "calendar-main-default" key for the calendar I set as default (TRUE) and (re)creates a new entry (with "calendar-main-default" = TRUE) for the calendar I switch to...

    And that I have to switch the calendar in my environment, I already described in a previous post.

    So in my opinion schultzwn's solution only works when you never switch the calendar in the left pane.
    But: to simply remember the last selected calendar in the left pane, I do not have to edit the properties manually! Remembering the last selected calendar is done by Thunderbird automatically...

    (I use Thunderbird 17.0.8 with Windows 7, maybe that is the problem?!)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • A helpful discussion revealing how to best manage the default calendar. The "select and close" approach is very easy. Pity it cannot be made permanent. Small problem compared to the many benefits of using Thunderbird and Lightning.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned

  • I’m happy
    THE SOLUTION:
    Click and hold selected the calendar on the left panel and move it to the top of the list.
    That is all!!!
    Sorry for my bad english
    Best regards
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned