Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Viewing preference files UNIX
If you're curious to see how preferences are stored in OS X, you can use the command "defaults." To see which programs the system knows about, type
defaults domains
in a terminal session. This will list (in a not very elegant way) every application for which the system has stored preferences.

To view the prefs for a certain application, just type
defaults read [appname]
where [appname] is a name as specified in the output of the first command. For example,
defaults read com.apple.finder
will show your Finder preferences. You can also (as the tips on changing the dock elsewhere on macosxhints demonstrate) change preference values with
defaults write...
However, this is not recommended unless you really know what you're doing! Most apps, of course, give you full access to their settings from within the program, which is the preferred way to go about changing them!

A good reading of "man defaults" is also suggested before you change anything!
    •    
  • Currently 1.89 / 5
  You rated: 3 / 5 (9 votes cast)
 
[5,349 views]  

Viewing preference files | 0 comments | Create New Account
Click here to return to the 'Viewing preference files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.