Skip to content

Instantly share code, notes, and snippets.

@atomkirk
Created November 18, 2017 19:50
Show Gist options
  • Save atomkirk/539d902316727bde9a3f3021a7ac33e6 to your computer and use it in GitHub Desktop.
Save atomkirk/539d902316727bde9a3f3021a7ac33e6 to your computer and use it in GitHub Desktop.
Custom default event duration on Fantastical

Custom default event duration on Fantastical 2

Run this in Terminal.app

defaults write com.flexibits.fantastical2.mac DefaultEventDuration 1200

1200 = 20 minutes * 60 seconds

PS

defaults is a powerful command. You can change the settings of most mac apps with it, which is useful in the case above (where fantastical 2 gives you a dropdown of options that dont work for you) or in automating your system setup (like when you get a new machine)

The way I found this default was I used:

defaults read > ~/Desktop/defaults.txt

to print all my defaults into a file. Then I opened my editor a searched for "fantastical"

Once you find the "domain" you can find the "key" of the setting you are looking for and then you can change it with:

defaults write <domain> <key> <value>         writes key for domain

Just typing defaults will give you all your options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment