• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Manual for Defaults command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manual for Defaults command


  • Subject: Re: Manual for Defaults command
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 20 Jul 2015 16:03:18 -0500

On 20 Jul 2015, at 3:45 PM, John Richardson <email@hidden> wrote:

> Apologies if this is a newbie question or better posted on another mailing list [tell me which if so…].
>
> Is there a manual on the developer website that gives all the options for the defaults command?
>
> Example: defaults write com.apple.doc ?????? where the question marks are the options and their values/parameters.
>
> Searching, all I get is how to make your own and other references that return amusing but irrelevant documents that do not list defaults options.
>
> Is it simply a matter of looking at the plist file for the dock? [and the plist file for mail,…]

Close. There are no standard keys or formats for user defaults. The man page for the `defaults` tool is all that can be said. Every developer makes them up. The best you can do is

	defaults read {application ID}

which you’d do well to pipe into `less` or the command-line version of your favorite text editor.

The most you will get out of the exercise is amusement. User-defaults schemas are not API. They are subject to change in any particular with any version of any application. In many circumstances, you can’t read or write them.

Bare Bones publicizes some of the defaults keys for BBEdit and TextWrangler for “advanced” configuration, and some developers publish them for internal things like configuring logs, but that’s rare.

	— F


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Manual for Defaults command (From: John Richardson <email@hidden>)

  • Prev by Date: Manual for Defaults command
  • Next by Date: Re: Manual for Defaults command
  • Previous by thread: Manual for Defaults command
  • Next by thread: Re: Manual for Defaults command
  • Index(es):
    • Date
    • Thread