Hacker News new | ask | show | jobs
by draebek 2440 days ago
Note that, at least as of 10.14 (Mojave), lots of built-in macOS preferences do not like their settings to be changed this way. For example, you can use `defaults` to change preferences for the trackpad to your heart's content, but they won't take effect immediately because IOKit (I think) has a shadow copy of the preferences that is much harder to modify. The pref pane for the trackpad ends up changing both the plist and the IOKit prefs to make preference changes take effect immediately.

If you use a lot of `defaults` commands, you'll want to reboot immediately afterwards.