Chapter 13. The Defaults System

Native Mac OS X applications store their preferences in the defaults database . This is made up of each application’s property list (plist) file, which is an XML file consisting of key/value pairs that define the preferences for an application or service of the operating system.

If an application has a plist file, every time you change its preferences, the changes are saved back to the plist file. Also included in the defaults database system are the changes you make to your system via the panels found in System Preferences (/Applications).

As an administrator, you may need to access your or another user’s preferences. This is done from the Terminal using the defaults command. This chapter covers Mac OS X’s preferences system, including the format and location of application and system preference files, how they work, and how to view and adjust their settings using the Property List Editor (/Developer/Applications/Utilities) and the Terminal.

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.