News for hackers. Stuff that matters.
Re:macOS Command Line by akerl_ on Wednesday December 07, 2022 @02:17PM (#33898845)
I think what you’re looking for is “defaults read”
Re:macOS Command Line by c0nsumer on Wednesday December 07, 2022 @02:19PM (#33898880)
I suspect that they are asking about finding settings which get used, but aren't documented. Like, how to find hidden settings that programs will use.
Re:macOS Command Line by larusso on Wednesday December 07, 2022 @02:29PM (#33899026)
In my experience with plist settings is that they are rarely sparse. But sure finding hidden settings is a tricky issue.
Re:macOS Command Line by AceJohnny2 on Wednesday December 07, 2022 @03:14PM (#33899617)
Unfortunately, that only seems to print those defaults that are set, not all defaults that are possible.

For example, the NSToolbarTitleViewRolloverDelay setting, while valid per the article, isn't listed in the output of `defaults read`

Re:macOS Command Line by js2 on Wednesday December 07, 2022 @03:20PM (#33899695)
Per sibling comments, you run strings on binaries, find out informally from Apple engineers, or dig through settings in the System Preferences and then use `defaults` to look for changes in output.