2 added 20 characters in body; edited tags; edited title
source | link

How can I identify Identify the rightcorrect key to be used by defaults writesystem when changing settings using System Preferences option?

I would like to identify which key is being changed in which file when a specific checkbox is unchecked in System Preferences (in my case it's System Preferences → Keyboard --> "Show→ Show keyboard and emoji viewers in menu bar"bar, but I'm interested in a general solution that would work not only with checkboxes).

How can I identify this? I am thinking about using a deamon to watch all System Preferences configuration files for changes.

How can I identify the right key to be used by defaults write when changing System Preferences option?

I would like to identify which key is being changed in which file when specific checkbox is unchecked in System Preferences (in my case it's Keyboard --> "Show keyboard and emoji viewers in menu bar" but I'm interested in a general solution that would work not only with checkboxes).

How can I identify this? I am thinking about using a deamon to watch all System Preferences configuration files for changes.

Identify the correct key used by defaults system when changing settings using System Preferences

I would like to identify which key is being changed in which file when a specific checkbox is unchecked in System Preferences (in my case it's System Preferences → Keyboard → Show keyboard and emoji viewers in menu bar, but I'm interested in a general solution that would work not only with checkboxes).

How can I identify this? I am thinking about using a deamon to watch all System Preferences configuration files for changes.

1
source | link

How can I identify the right key to be used by defaults write when changing System Preferences option?

I would like to identify which key is being changed in which file when specific checkbox is unchecked in System Preferences (in my case it's Keyboard --> "Show keyboard and emoji viewers in menu bar" but I'm interested in a general solution that would work not only with checkboxes).

How can I identify this? I am thinking about using a deamon to watch all System Preferences configuration files for changes.