macos-defaults/docs
2023-08-18 16:33:51 +02:00
..
.vuepress 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
activity-monitor 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
desktop 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
dock 🐛 Fix a few docs issues 2023-08-18 16:33:51 +02:00
feedback-assistant 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
finder 🐛 Fix a few docs issues 2023-08-18 16:33:51 +02:00
fr 🐛 Fix a few docs issues 2023-08-18 16:33:51 +02:00
menubar 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
misc 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
mission-control 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
safari 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
screenshots 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
simulator 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
textedit 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
timemachine 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
trackpad 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
xcode 🚨 Run prettier v3 2023-08-18 16:33:51 +02:00
readme.md 🐛 Fix a few docs issues 2023-08-18 16:33:51 +02:00

metaTitle meta
macOS defaults list
property content
og:title A list of macOS defaults commands with demos
name content
description You've already copied `defaults write` commands. Sometimes you don't know what they do and are not sure they still work. This list of macOS defaults commands is here to help.
property content
og:description You've already copied `defaults write` commands. Sometimes you don't know what they do and are not sure they still work. This list of macOS defaults commands is here to help.
property content
twitter:card summary_large_image
property content
twitter:image https://macos-defaults.netlify.app/media-2x1.webp
property content
og:image https://macos-defaults.netlify.app/media-2x1.jpg

macOS defaults list

Uncomplete list of macOS defaults commands with demos

🙋 What's a defaults command?

macOS applications and other programs use the defaults system to record user preferences and other information to be maintained when the application isn't running (font for new documents, or the position of an Info panel). Much of this information is accessible through an application's Preferences panel but sometimes they're hidden.

User defaults belong to domains, which typically correspond to individual applications. Applications, system services, and other programs have their own domains, they also share a domain named NSGlobalDomain. If a default isn't specified in the application's domain, it may be specified in NSGlobalDomain.

Each domain has a dictionary of keys and values representing its defaults; e.g. "Default Font" = "Helvetica". Keys are strings, values can be complex data structures comprising arrays, dictionaries, strings, and binary data. They're stored as XML Property List.

The defaults command line interface is a way to interact with these values.

Source: Real-World-Systems

Command line interface basics

Print the help

defaults help

List all domains

defaults domains

List all entries containing word

defaults find ${word}

Show the type for the given domain, key

defaults read-type ${domain} ${key}

Rename old_key to new_key

defaults rename ${domain} ${old_key} ${new_key}

💻 List of commands

Dock

Screenshots

Safari

Finder

Desktop

Menu Bar

Trackpad

Mission Control

Feedback Assistant

Xcode

Simulator

TextEdit

Time Machine

Activity Monitor

Miscellaneous

🤔 How do I add a command?

Please update this file that I use to build multiple websites like this one.

❤️ I like this website, how can I build the same?

Thank you! I built it using VuePress. Take a look at my report if you want to use it.

Deploys by Netlify