3 ms·
How would one go about hacking a working prototype for this? Does Apple expose system calls ?
by alephnan 4y ago
How would one go about hacking a working prototype for this? Does Apple expose system calls ?
- rockbruno 4y agoI think in macOS most if not all system settings are deep down CLI tools, so you could make it happen by (re)abstracting them.
- sgjohnson 4y agoThis. You might run into an edge case or two, and the display values might disagree with the actual ones (in case if some of the values are stored in some property list somewhere, that’s used only for display purposes), but ultimately you can change basically everything from the Terminal.
- JamesSwift 4y agoYou can but its fairly flimsy and requires a reboot for a lot of them to take effect / reflect reality. Discoverability is a whole other can of worms to figure out what to set.
- LeoNatan25 4y agoThis is no longer accurate. Many things have moved to privileged XPC calls, which are handled by daemons that cannot be easily controlled.
- kergonath 4y agoThey are not really CLI tools, but the CLI tools are based on the same APIs that applications use. There are several applications that expose settings hidden in System Preferences (like Onyx, off the top of my head), and under the hood they use the API, not the command line.