Printing all the domains via defaults domains is a very helpful way to check what actually can be changed. help - I’m sure you know what this doesĭomains - system components and installed apps #.find - searches all domain and keys for a given name.
#Where is finder preferences on mac full#
domains - prints the full list of domains.delete - deletes a key or a full domain.read-type - prints the type of given key.The defaults interface isn’t complicated to use and comes equipped with just a few methods: Boom! Write, read and delete defaults settings # How long do you spend on these tasks? Two hours? Four? Ten? I spent about five minutes.
The next one is even better - do you remember last time when you had to set up a new computer from scratch? Change the settings, add a desktop background, disable the screen saver, download your favourite software etc. You may be scratching your head asking yourself - why the hell would I prefer to do it through the command line instead of using a nice looking GUI (graphical user interface) to change things? Two reasons! A command line way gives you access to things that you cannot change via graphical panels (toggling hidden files is a perfect example). Let’s take it apart to get familiar with the terminology used throughout this article: defaults write AppleShowAllFiles -string YES You may have even used it before - revealing hidden files in Finder is a popular snippet (hot tip: ⌘ + ⇧ +. Macs come with a defaults command line interface that lets you read, write, and delete macOS user defaults. The System Preferences window is not the only way to adjust user settings.
Change macOS user preferences via command line