Hacker News new | past | comments | ask | show | jobs | submit login

How would one go about hacking a working prototype for this? Does Apple expose system calls ?



I think in macOS most if not all system settings are deep down CLI tools, so you could make it happen by (re)abstracting them.


This is no longer accurate. Many things have moved to privileged XPC calls, which are handled by daemons that cannot be easily controlled.


This. 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.


You 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.


They 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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: