Skip to content
HN On Hacker News ↗

A list of macOS defaults commands with demos ✨

▲ 38 points • 1 comments • by zdw • 4w ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 411
PEAK AI % 0% · §1
Analyzed
Sep 12
backend: pangram/v3.3
Segments scanned
1 windows
avg 411 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 411 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

Incomplete 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-SystemsCommand line interface basics Print the helpbashdefaults helpList all domainsbashdefaults domainsList all entries containing wordbashdefaults find ${word}Show the type for the given domain, keybashdefaults read-type ${domain} ${key}Rename old_key to new_keybashdefaults rename ${domain} ${old_key} ${new_key}💻 List of commands DockPositionIcon sizeAutohideAutohide animation timeAutohide delayShow recentsMinimize animation effectActive applications onlyScroll to Exposé appScreenshotsDisable shadowInclude dateLocationDisplay thumbnailChoose screenshot formatSafariShow full URLFinderQuitShow extensionsShow hidden filesPath barDefault view styleKeep folders on topOpen folders destinationDefault search scopeEmpty bin items after 30 daysChanging file extension warningSave to disk locationTitle bar iconsToolbar title rollover delaySidebar icon sizeColumn auto sizingStatus barDesktopKeep folders on topAll iconsDisksExternal disksRemovable mediaConnected serversMenu BarFlash clock time separatorsDigital clock formatMouseAccelerationSpeedFocus Follows MouseTrackpadClick weight (threshold)Dragging with drag lockDragging without drag lockDragging with three finger dragKeyboardKey held down behaviorFn/🌐 key usageFunction keys behaviorKeyboard navigationAdd period with double-spaceToggle language indicatorMission ControlRearrange automaticallyGroup windows by applicationSwitch to Space with open windowsDisplays have separate SpacesFeedback AssistantAutogatherXcodeAdd Additional Counterpart SuffixesShow Build DurationsSimulatorScreenshot locationTextEditDefault document formatSmart quotesTime MachineDon't offer new disks for Time Machine backupActivity MonitorUpdate FrequencyDock Icon typeMessagesShow Subject FieldMiscellaneousToggle Apple IntelligenceHelp Menu positionSpring loading for all Dock itemsShow Music song notificationsDisable application quarantine messageClose confirm changes popupClear recently used time zones in CalendarKeep windows when quitting an application🤔 How do I add a command? Feel free to open a GitHub issue if you know an unlisted command.It's also possible to add the command yourself by creating a Pull Request. Please take a look at the contribution guidelines.❤ I like this website, how can I build the same? Thank you! I built it using VitePress.