How can I find the default New Event duration on Mojave’s Calendar app

by caseyjay   Last Updated June 13, 2019 02:12 AM

I am running Mojave 14.5 on a new MacMini i7. When a new event is started, the default time is always 9am to 10am. I work late and often miss the alerts. I would like to set new default values or just make the default to be all day. I do realize that I can modify the default duration for each new entry manually. I have followed previous threads on modifying the default duration using terminal command: defaults write com.apple.iCal 'Default duration in minutes for new event' 15, but that does not seem to work with Mojave. An answer on GitHub https://github.com/mathiasbynens/dotfiles/issues/849 helped to find the preferences in containers, I used terminal to read out the preferences as shown below. I would like to know which pref controls the event default duration and the command syntax to change it. Any advise or help is greatly appreciated. Casey Jay

    • Kens-Mac-mini:~ kjohnst$ defaults read -app Calendar
    • {
    • ABDirectoryResultColumnTitle = Email;
    • AccountDisplayOrder = (
    • "8FD04ABA-ECE5-448A-B868-10BD19AFA1B9"
    • );
    • "Add default alarms" = 1;
    • AutoSaveInterval = 1;
    • CALLastSystemTimeZoneKey = "US/Central";
    • "CALPaned(Tasks pane)" = 163;
    • "CALPaned(Tasks pane).Open" = 0;
    • "CALPaned(Unset CALPaned save name)" = 163;
    • "CALPaned(Unset CALPaned save name).Open" = 0;
    • "CALPaned(left pane)" = 196;
    • "CALPaned(left pane).Open" = 1;
    • "CALPaned(main vertical pane)" = 178;
    • "CALPaned(main vertical pane).Open" = 1;
    • CalDefaultCalendar = "F88EA235-190D-419B-9479-3CBB579F1F0D";
    • CalDefaultCalendarSelectedByUser = 0;
    • CalDefaultPrincipal = "8FD04ABA-ECE5-448A-B868-10BD19AFA1B9";
    • CalDefaultReminderList = "4CBA771D-14DD-4BE9-83BD-C30777D7675B";
    • CalFirstVisibleDate = "2019-06-16 05:00:00 +0000";
    • CalForceTruthFileRestoreHashKey = 16A1;
    • CalSuccessfulLaunchTimestampPreferenceKey = "5.164627e+08";
    • CalUICanvasOccurrenceFontSize = 12;
    • CalendarListMiniMonthVisibleMonths = 1;
    • CalendarSidebarShown = 1;
    • CalendarSidebarWidth = 165;
    • CollapsedTopLevelNodes = {
    • MainWindow = (
    • );
    • };
    • DelegatesInSeparateWindows = {
    • iCal = {
    • };
    • };
    • "Disable shared calendar alerts" = 1;
    • DisableEmphasizedViews = 1;
    • DisabledCalendars = {
    • MainWindow = (
    • "722465D4-345D-4893-8899-B39027FF78C9",
    • "B90DE005-A4CD-4FF6-A5E6-9ECD5D9A98C6",
    • "27855B94-C9F5-4C29-BF6A-9035CDEE0149",
    • "E1B7C2D8-7AC4-4C9E-9908-CA95E8665345",
    • "99199066-F7F6-42F2-B77A-0C50D5407E51",
    • "8595486E-90B1-4DDA-9AA9-0054E6AB466E",
    • "46FEF619-71DC-46BA-8FE0-C8D32B445295",
    • "778C1044-A1B1-4266-96BA-49ADF784C0F4",
    • "E89897AA-4325-4F9A-9F16-812C4D570307",
    • "931D8263-978C-4FE5-BC05-643D86BA3A9E",
    • "C37A1D58-E5BD-495E-BA8C-E264F8967515",
    • "07A1A51F-DFCD-4C99-A7D1-06D397F66C7C"
    • );
    • };
    • GEOUsageSessionID = <08dee8b3 f78d9af6 a2dd0110 9a8d97db f6b3adf0 73>;
    • GEOUsageSessionIDGenerationTime = "569562269.692448";
    • InspectorSize = 235;
    • InvitationNotificationsDisabled = 1;
    • LastCheckForIgnoredPseudoEvents = "579538114.1278501";
    • LastSaveDate = "2019-06-13 01:14:45 +0000";
    • LocalGroupsDisplayOrder = (
    • "40CA8201-3480-414E-BB5F-DAA2A6BEF6EE",
    • "5A62293B-E85B-4CA8-B227-3B3C43A532CC"
    • );
    • NSDontMakeMainWindowKey = NO;
    • NSEventConcurrentProcessingEnabled = YES;
    • NSNavBrowserPreferedColumnContentWidth = 186;
    • NSNavLastRootDirectory = "~/Desktop";
    • NSNavPanelExpandedSizeForOpenMode = "{518, 402}";
    • NSNavPanelExpandedSizeForSaveMode = "{585, 422}";
    • NSNavPanelExpandedStateForSaveMode = 1;
    • NSNavSidebarWidth = 120;
    • "NSSplitView Subview Frames Calendar List Horizontal Split View" = (
    • "0.000000, 0.000000, 164.000000, 685.000000, NO",
    • "0.000000, 685.000000, 164.000000, 161.000000, NO"
    • );
    • "NSSplitView Subview Frames Calendar List Vertical Split View" = (
    • "0.000000, 0.000000, 164.000000, 851.000000, NO",
    • "164.000000, 0.000000, 1132.000000, 851.000000, NO"
    • );
    • "NSSplitView Subview Frames Calendar To Do List Vertical Split View" = (
    • "0.000000, 0.000000, 1296.000000, 875.000000, NO",
    • "1133.000000, 0.000000, 163.000000, 875.000000, YES"
    • );
    • "NSTableView Columns NSNavOutlineColumnSettings.v1" = (
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 1c4e534e 61764469 73706c61 794e616d 6546696c 6550726f 70657274 7986>,
    • 225,
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 184e534e 61764d6f 64446174 6546696c 6550726f 70657274 7986>,
    • 117
    • );
    • "NSTableView Columns SearchView" = (
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 0863616c 436f6c6f 7286>,
    • 16,
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 04646174 6586>,
    • 115,
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 046b696e 6486>,
    • 40,
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 0773756d 6d617279 86>,
    • 378
    • );
    • "NSTableView Hidden Columns SearchView" = (
    • );
    • "NSTableView Sort Ordering NSNavOutlineColumnSettings.v1" = (
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 1c4e534e 61764469 73706c61 794e616d 6546696c 6550726f 70657274 7986>,
    • 1
    • );
    • "NSTableView Sort Ordering SearchView" = (
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 04646174 6586>,
    • 1,
    • <040b7374 7265616d 74797065 6481e803 84014084 8484084e 53537472 696e6701 8484084e 534f626a 65637400 8584012b 0773756d 6d617279 86>,
    • 1
    • );
    • "NSToolbar Configuration com.apple.NSColorPanel" = {
    • "TB Is Shown" = 1;
    • };
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/046660AA-8DE8-4D87-8DC6-0BE0780E91F9/20170113/-" = "1434 407 304 404 0 0 1920 1058 ";
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/26A43BC4-F773-4AD9-8BEC-65339FE6A11B/-/20161113T060000Z" = "626 424 304 243 0 0 1920 1058 ";
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/2EC96319-4613-4DAA-9C86-B7EE5FC32EDA/20170101/-" = "569 492 304 470 0 0 1920 1058 ";
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/3AEE6A2D-CC3D-4B87-A4A8-79DFA999BA93/-/20161120T180000Z" = "622 148 304 243 0 0 1920 1058 ";
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/68134CFC-20BF-4258-BF66-780232A725EF/-/20161216T180000Z" = "1427 354 304 243 0 0 1920 1058 ";
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/7AA97454-A5E4-4923-A4A0-F2BEA4E4F17E/20161204/-" = "631 345 304 467 0 0 1920 1058 ";
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/9FDB8A0B-8047-4C38-B713-E10E39EE3EEE/20141001T050000Z/-" = "1105 631 304 259 0 0 1920 1058 ";
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/B0215207-CCED-4ED0-94CA-6FD6B47DD5CD/20141001T160000Z/-" = "1105 615 304 259 0 0 1920 1058 ";
    • "NSWindow Frame 0:32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/BF87425D-E5A8-4C67-8888-6DFA26ED362E/20161120/-" = "622 126 304 323 0 0 1920 1058 ";
    • "NSWindow Frame 0:4CBA771D-14DD-4BE9-83BD-C30777D7675B/6219B5FE-A280-48B6-9A97-31B43F6291F4/-/20110330T050000Z" = "1395 153 312 234 0 0 1920 1058 ";
    • "NSWindow Frame 0:4CBA771D-14DD-4BE9-83BD-C30777D7675B/local_99183729-B8BF-4C29-ABA4-6CA7F6D52C7A/-/20091111T060000Z" = "790 537 312 250 0 0 1280 1002 ";
    • "NSWindow Frame 18394100-49E2-4FE8-ADEC-9554DB333083" = "18 754 314 285 0 0 1920 1057 ";
    • "NSWindow Frame 1E8B5568-3D90-4492-917B-6C490F489951" = "18 776 314 263 0 0 1920 1057 ";
    • "NSWindow Frame 20170607T170000Z/B721DB1A-B256-45E3-A30D-228C4E0A6BC8" = "572 419 314 303 0 0 1920 1057 ";
    • "NSWindow Frame 32F6FEAB-E8CC-4112-8FCC-D2B73DC4DC49/EA32FDFB-3613-43F3-81E9-ACB3686D5119/-/20170309T180000Z" = "64 594 282 454 0 0 1920 1058 ";
    • "NSWindow Frame 4CBA771D-14DD-4BE9-83BD-C30777D7675B/3EF89E03-F26E-4BCB-BA95-D93ACF559530/-/20160710T050000Z" = "64 543 282 475 0 0 1680 1028 ";
    • "NSWindow Frame 4CBA771D-14DD-4BE9-83BD-C30777D7675B/8CD8D885-69B7-461F-B5AC-9E7DEEC6070D/-/20090916T050000Z" = "64 587 282 405 0 0 1280 1002 ";
    • "NSWindow Frame 4CBA771D-14DD-4BE9-83BD-C30777D7675B/C8850D2A-FCF9-4FCF-AA21-0F7B25CDD29C/-/20090920T050000Z" = "64 539 282 453 0 0 1280 1002 ";
    • "NSWindow Frame 4CBA771D-14DD-4BE9-83BD-C30777D7675B/local_71B3CA6C-C059-44FD-88E8-B0E76AD9A23B/-/20091028T050000Z" = "64 539 282 453 0 0 1280 1002 ";
    • "NSWindow Frame 4CBA771D-14DD-4BE9-83BD-C30777D7675B/local_8816CC6A-815B-4397-9C72-FE1FFFBD02A8/-/20090927T050000Z" = "64 539 282 453 0 0 1280 1002 ";
    • "NSWindow Frame 586B3F9D-EF36-448D-886A-BAF509569F34" = "18 758 314 281 0 0 1920 1057 ";
    • "NSWindow Frame 6F44E749-D6D0-4DEE-A3BF-BB355C221901" = "18 1142 315 257 0 0 2560 1417 ";
    • "NSWindow Frame 743AF008-D488-42DF-BC0A-A7DFBB6D0EF4" = "993 487 314 266 0 0 1680 1027 ";
    • "NSWindow Frame 8B890E90-A2AB-4FF2-9295-8C5D431E4B91" = "18 775 314 264 0 0 1920 1057 ";
    • "NSWindow Frame BirthdayCalendarInspector" = "700 826 541 166 0 0 1920 1058 ";
    • "NSWindow Frame C5321475-F00A-49D7-AA90-36CCF68E5E9B" = "18 754 314 285 0 0 1920 1057 ";
    • "NSWindow Frame ServerCalendarInspector" = "1215 1142 499 230 0 0 2560 1417 ";
    • "NSWindow Frame SimpleCalendarInspector" = "425 330 513 237 0 0 1440 830 ";
    • "NSWindow Frame SubscriptionCalendarInspector" = "874 650 510 304 0 0 1920 1058 ";
    • "NSWindow Frame iCal" = "183 179 1679 1049 0 0 2560 1417 ";
    • PMPrintingExpandedStateForPrint = 0;
    • PMPrintingExpandedStateForPrint2 = 1;
    • "PersistentMenu-lastUsedAlarms" = (
    • {
    • AlarmDurationKey = "20131119T054500+0000";
    • AlarmTypeKey = 2;
    • },
    • {
    • AlarmDurationKey = 85500;
    • AlarmTypeKey = 2;
    • },
    • {
    • AlarmDurationKey = "-1296000";
    • AlarmTypeKey = 2;
    • },
    • {
    • AlarmDurationKey = "20140114T154500+0000";
    • AlarmTypeKey = 2;
    • }
    • );
    • "PersistentMenu-lastUsedAllDayAlarms" = (
    • {
    • AlarmDurationKey = 43200;
    • AlarmTypeKey = 2;
    • },
    • {
    • AlarmDurationKey = 32400;
    • AlarmTypeKey = 2;
    • },
    • {
    • AlarmDurationKey = "-900";
    • AlarmTypeKey = 2;
    • },
    • {
    • AlarmDurationKey = 32400;
    • AlarmParameterKey = Basso;
    • AlarmTypeKey = 3;
    • }
    • );
    • "PersistentMenu-lastUsedTimedAlarms" = (
    • {
    • AlarmDurationKey = "-900";
    • AlarmParameterKey = Basso;
    • AlarmTypeKey = 3;
    • },
    • {
    • AlarmDurationKey = "-900";
    • AlarmTypeKey = 2;
    • }
    • );
    • SelectedEvents = {
    • iCal = (
    • );
    • };
    • SharedCalendarNotificationsDisabled = 0;
    • "Should Open Inspector" = 1;
    • "Show heat map in Year View" = 1;
    • "Show time in Month View" = 1;
    • "Subscription Calendar Keychains Migrated" = 2;
    • "Swap view name to display" = MiniMonth;
    • "Swap view should be shown at launch" = 1;
    • "Tasks should be shown at launch" = 0;
    • TimeToLeaveEnabled = 0;
    • ViewModelMigrated = 1;
    • "WR-PREFS-LAST-QUIT-STATE" = CLEAN;
    • "delete todos" = 0;
    • "delete todos after" = 30;
    • "display birthdays calendar" = 1;
    • "first minute of day time range" = 0;
    • "first shown minute of day" = "715.8006362672322";
    • "iCal version" = 134217728;
    • "last calendar view description" = Monthly;
    • "last minute of day time range" = 1440;
    • "last selected calendar list item" = "F88EA235-190D-419B-9479-3CBB579F1F0D";
    • lastHearBeatDate = "20080212T063426-0600";
    • lastViewsTimeZone = "America/Chicago";
    • privacyPaneHasBeenAcknowledged = 1;
    • privacyPaneHasBeenAcknowledgedVersion = 4;
    • syncingDisabled = 0;
    • "view rects" = {
    • "1-day" = "{{297, 36}, {1296, 993}}";
    • "2-day" = "{{50, 50}, {600, 400}}";
    • "3-day" = "{{50, 50}, {600, 400}}";
    • "4-day" = "{{50, 50}, {600, 400}}";
    • "5-day" = "{{50, 50}, {700, 500}}";
    • "6-day" = "{{50, 50}, {700, 500}}";
    • "7-day" = "{{325, 46}, {1296, 993}}";
    • monthly = "{{297, 36}, {1296, 993}}";
    • yearly = "{{50, 50}, {750, 550}}";
    • };
    • }


Related Questions


Updated May 17, 2015 22:05 PM

Updated June 14, 2015 23:05 PM

Updated November 05, 2017 14:12 PM

Updated July 04, 2016 08:05 AM

Updated November 14, 2018 13:12 PM