Agreed. Only one thing that I didn’t see mentioned yet is that when using
defaults delete the targeted app should not be running.
> On 30 Apr 2018, at 21:43, Jeremy Hughes wrote:
>
> Killing cfprefsd seems unnecessarily drastic. Why not use:
>
> defaults delete
>
Killing cfprefsd seems unnecessarily drastic. Why not use:
defaults delete
as Gary Wade mentioned earlier?
is a reverse-dns string such as “com.company.appname”
—
> On 30 Apr 2018, at 15:31, Alex Zavatone wrote:
>
> Is it worth it (or wise) to zero out preferences and write
Is it worth it (or wise) to zero out preferences and write them prior to
performing a kill?
> On Apr 30, 2018, at 4:52 AM, Nathan Day wrote:
>
> Thats not completely correct modifying the preferences file directly or
> deleting it can take a while for the user defaults
Thats not completely correct modifying the preferences file directly or
deleting it can take a while for the user defaults process to pick up the
change, but you can force the user defaults process to pick up the changes with
killall cfprefsd
it can be a little bit complicated sometimes and
> On Apr 24, 2018, at 16:14, Jack Brindle wrote:
>
> Interestingly it appears that if they are changed back the change is still
> written to the plist so that over time you may get the entire set there.
>
> - Jack
FWIW, that’s up to the program, and is not dictated by
One thing further. The defaults are set in the program, and changes are written
to the plist when they first differ from the set defaults. This can be very
confusing since many folks expect to see all defaults in the file and are
surprised to see only a few. Interestingly it appears that if
> On Apr 24, 2018, at 11:42 AM, Richard Charles wrote:
>
> On macOS an applications user defaults are stored in a preference plist file
> located in ~/Library/Preferences.
Thats not entirely accurate. They can be in various locations,
including but not limited
Try defaults delete in the Terminal.
--
Gary L. Wade
http://www.garywade.com/
> On Apr 24, 2018, at 8:42 AM, Richard Charles wrote:
>
> On macOS an applications user defaults are stored in a preference plist file
> located in ~/Library/Preferences.
>
> If this file is
On macOS an applications user defaults are stored in a preference plist file
located in ~/Library/Preferences.
If this file is deleted, user preferences for the application still persist
until the machine is rebooted. In other words if you want to start with a clean
set of user preferences not