<story><title>System settings that aren’t in System Settings</title><url>https://eclecticlight.co/2023/07/29/system-settings-that-arent-in-system-settings/</url></story><parent_chain><item><author>bartvk</author><text>It&amp;#x27;s now a habit to save all my changes in system and app preferences in a script.&lt;p&gt;First I do a&lt;p&gt;&lt;pre&gt;&lt;code&gt;    defaults read &amp;gt; 1
&lt;/code&gt;&lt;/pre&gt;
Then I change the setting in the app or System Settings, then back on the commandline, I do&lt;p&gt;&lt;pre&gt;&lt;code&gt;    defaults read &amp;gt; 2
    diff 1 2
&lt;/code&gt;&lt;/pre&gt;
The change gets copied to a preferences.sh file with a whole bunch of statements like:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    defaults write com.apple.ical &amp;quot;Show Week Numbers&amp;quot; -bool true
&lt;/code&gt;&lt;/pre&gt;
Afterwards, I don&amp;#x27;t care where the setting is. I just set it in my preferences.sh file, and if I update any of it, I run that file.</text></item></parent_chain><comment><author>pxc</author><text>Beware that some settings won&amp;#x27;t show up this way, and some settings that you can witness through `defaults read &amp;lt;some plist file&amp;gt;` cannot be safely edited through `defaults write`.&lt;p&gt;Power management settings, for example, will break some System Settings panes when manually written, in addition to not effectively modifying the relevant setting. Those, you have to modify with the `pmset` command instead.</text></comment>
<story><title>System settings that aren’t in System Settings</title><url>https://eclecticlight.co/2023/07/29/system-settings-that-arent-in-system-settings/</url></story><parent_chain><item><author>bartvk</author><text>It&amp;#x27;s now a habit to save all my changes in system and app preferences in a script.&lt;p&gt;First I do a&lt;p&gt;&lt;pre&gt;&lt;code&gt;    defaults read &amp;gt; 1
&lt;/code&gt;&lt;/pre&gt;
Then I change the setting in the app or System Settings, then back on the commandline, I do&lt;p&gt;&lt;pre&gt;&lt;code&gt;    defaults read &amp;gt; 2
    diff 1 2
&lt;/code&gt;&lt;/pre&gt;
The change gets copied to a preferences.sh file with a whole bunch of statements like:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    defaults write com.apple.ical &amp;quot;Show Week Numbers&amp;quot; -bool true
&lt;/code&gt;&lt;/pre&gt;
Afterwards, I don&amp;#x27;t care where the setting is. I just set it in my preferences.sh file, and if I update any of it, I run that file.</text></item></parent_chain><comment><author>snapplebobapple</author><text>I wonder if the program i use to manage my dotfiles could help manage your scripts and extend your setup to all your desktops? Its called yadm (&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;yadm.io&amp;#x2F;&quot; rel=&quot;nofollow noreferrer&quot;&gt;https:&amp;#x2F;&amp;#x2F;yadm.io&amp;#x2F;&lt;/a&gt;) it makes it so easy to have a laptop and a desktop or two.&lt;p&gt;Edit: seems to support doing a diff and reverting&amp;#x2F;modifying right in yadm, i just do t really use thst bit myself: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;yadm.io&amp;#x2F;docs&amp;#x2F;common_commands#&quot; rel=&quot;nofollow noreferrer&quot;&gt;https:&amp;#x2F;&amp;#x2F;yadm.io&amp;#x2F;docs&amp;#x2F;common_commands#&lt;/a&gt;</text></comment>