what file contains defaults info?

If I type "defaults read com.apple.TextEdit" into terminal I get some defaults e.g.

NSFixedPitchFont = "Arial-Black";

NSFixedPitchFontSize = 14;

NSFont = "Arial-Black";

NSFontPanelAttributes = "1, 2";

NSFontPanelPreviewHeight = 0;

NSFontSize = 14;

NSNavLastRootDirectory = "~/Desktop";


The only file I can find with com.apple.TextEdit in the name is com.apple.TextEdit.plist but when I open that file it does not contain the above defaults (it may have some but it doesn't have most of them, it's a long file with a lot of code in it). Where are they located?

Thanks

Posted on Mar 8, 2023 11:09 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 8, 2023 1:34 PM

Are you looking in the hidden User's Library?


/Users/YourUserName/Library/Preferences/com.apple.TextEdit.plist

Or...


~/Library/Preferences/com.apple.TextEdit.plist


~ tilde indicates  your user library folder

Apple hid the Users' Library folders...


Method 1:

  1. From the Finder, select the Go menu at top of the screen, and choose Go to Folder.
  2. In the window that opens, enter ~/Library, and click Go.

 

Method 2:

  1. Go to the Finder (or desktop).
  2. Hold the Option key on your keyboard, and click the Go menu at the top of the screen.
  3. With the Go menu open, you'll notice that pressing and releasing Option will display or hide the Library choice in this menu.


Similar questions

8 replies
Question marked as Top-ranking reply

Mar 8, 2023 1:34 PM in response to Rolomoto

Are you looking in the hidden User's Library?


/Users/YourUserName/Library/Preferences/com.apple.TextEdit.plist

Or...


~/Library/Preferences/com.apple.TextEdit.plist


~ tilde indicates  your user library folder

Apple hid the Users' Library folders...


Method 1:

  1. From the Finder, select the Go menu at top of the screen, and choose Go to Folder.
  2. In the window that opens, enter ~/Library, and click Go.

 

Method 2:

  1. Go to the Finder (or desktop).
  2. Hold the Option key on your keyboard, and click the Go menu at the top of the screen.
  3. With the Go menu open, you'll notice that pressing and releasing Option will display or hide the Library choice in this menu.


Mar 8, 2023 2:18 PM in response to Rolomoto

There plenty other places, like...


~Library/Containers/com.apple.TextEdit/Data/Library/Preferences/com.apple.TextEdit.plist

~Library/Containers/com.apple.TextEdit/Data/Library/Autosave Information/com.apple.TextEdit.plist


Find Any File...


http://apps.tempel.org/FindAnyFile/index.php


Hold Option or alt key when selecting Find to Find All.


Find all for Name> Contains... com.apple.TextEdit.plist

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

what file contains defaults info?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.