Useful macOS defaults: Calendar
Calendar settings live under com.apple.iCal (the original app name). After changing these, quit and reopen Calendar.
Set the first day of the week
defaults write com.apple.iCal "first day of week" -int 1
Values:
0= Sunday1= Monday2= Tuesday- and so on through
6= Saturday
Show week numbers
Display week numbers in the month and year views:
defaults write com.apple.iCal "Show Week Numbers" -bool true
Default calendar view
Set what Calendar shows when you open it:
defaults write com.apple.iCal "Default view" -int 2
Values:
0= day view1= week view2= month view3= year view
Day start and end times
Set when the day begins and ends in the Calendar view (in minutes from midnight):
# Start at 8:00 (8 × 60 = 480)
defaults write com.apple.iCal "first minute of work hours" -int 480
# End at 18:00 (18 × 60 = 1080)
defaults write com.apple.iCal "last minute of work hours" -int 1080
Default event duration
Set the default length for new events in minutes:
defaults write com.apple.iCal "Default duration" -int 30
Show birthdays calendar
defaults write com.apple.iCal "display birthdays calendar" -bool true
Show holidays calendar
defaults write com.apple.iCal "add holidays calendar" -bool true
Default alert for events
Set a default alert for new events in minutes before the event:
defaults write com.apple.iCal "Default alarm offset" -int 15
Set to 0 for no default alert.
Default alert for all-day events
Set a default alert for all-day events. This uses a different scale (days before, as a negative number of minutes):
# Alert at 9:00 on the day of the event
defaults write com.apple.iCal "Default all day alarm offset" -int 540
Time zone support
Turn on time zone support (lets you set events in different time zones):
defaults write com.apple.iCal "TimeZone support enabled" -bool true
Read all current Calendar settings
defaults read com.apple.iCal
Enjoyed this post?
Well, you could share the post with others, follow me with RSS Feeds and/or send me a comment via email.
Tags
Category:
Tags:
Year: