0

Is it possible to change the true tone and "automatically adjust brightness" setting from the commandline?

Where does macOS saves preferences for such things?

I'd like to change the setting directly rather than an applescript that launches setting and does this via the UI

1 Answer 1

0

Shifty allows you to do this from the menu bar or by using keyboard shortcuts.

These settings are not stored on the file system anymore, they are most likely stored in the SMC. I don’t know of a command-line utility that can do this but it would be very possible to create one using Swift by taking inspiration from Shifty’s source code

You would have to link to the following PrivateFrameworks to get access to the functions that can change the TrueTone and ambient light sensor state:

  • CBTrueToneClient.framework
  • CBAdaptationClient.framework

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .