Hacker News new | ask | show | jobs
by anamexis 1919 days ago
How does one find all of these "defaults" settings? Is there a reference somewhere?
2 comments

  defaults read
will show you all of them but it's a pretty long list
That also only shows you values that have been set. There can be values that are defaulted within the program itself that can be set, but do not have their default values written to any file, so do not show up in the `defaults` command except when set manually.

Unfortunately, the usual way of finding those is to `strings` the application binary, and weed through all the chaff. And that requires either a fishing expedition, or for you to already know what you are looking for (including what binary might be responsible for that).

Reversing the binary to find calls to NSUserDefaults/CFPreferences.