macOS defaults 列表:macOS defaults 命令的不完整列表及演示
macOS defaults list: Incomplete list of macOS defaults commands with demos

原始链接: https://macos-defaults.com

macOS 应用程序和其他程序使用 defaults 系统来记录用户偏好设置以及其他需要在程序关闭后保留的信息(例如新建文档的字体或信息面板的位置)。这些信息大多可以通过应用程序的“偏好设置”面板进行访问,但有时它们会被隐藏。用户默认设置归属于各个域(domain),这些域通常对应于特定的应用程序。应用程序、系统服务及其他程序拥有各自的域,同时也共享一个名为 NSGlobalDomain 的域。如果某个默认设置未在应用程序的域中指定,系统可能会在 NSGlobalDomain 中查找。每个域都包含一个键值对字典来表示其默认设置,例如:"Default Font" = "Helvetica"。键为字符串,值可以是包含数组、字典、字符串和二进制数据的复杂数据结构。它们以 XML 属性列表(Property List)的形式存储。defaults 命令行界面就是一种与这些值进行交互的方式。

抱歉。
相关文章

原文

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.

联系我们 contact @ memedata.com