Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I adjust my font aliasing setting by:

defaults -currentHost write -globalDomain AppleFontSmoothing -int 3

which is a hint from macworld.

I am wondering where are these defaults stored and how can I retrive the current values? Thanks~

share|improve this question
up vote 1 down vote accepted

The "global domain" preferences are stored in

/Users/yourname/Library/Preferences/ByHost/.GlobalPreferences.$UUID.plist, where $UUID is, well, a UUID, identifying your machine.

share|improve this answer
Got it! I can see what are saved by: open .GlobalPreferences.<UDID>.plist in the ~/Library/Preferences/ByHost/ folder. – ohho Nov 4 '10 at 8:55

All preference files are stored in ~/Library/Preferences/ in .plist files named by reverse domain name, so for example com.Apple.iPhoto.plist or similar. The 'defaults' command is just a front-end for that.

share|improve this answer
I tried to search the ` ~/Library/Preferences/` folder but cannot found any AppleFontSmoothing string. For this particular example, which plist file is storing the 3 value? – ohho Nov 4 '10 at 2:22
True, in general, but not in this case. – Daniel Beck Nov 4 '10 at 7:13
Ah, I see - it's in a subfolder as an invisible file. So I would have been correct If I had said they're in ~/Library/Preferences/* and left it at that. :) – Justin Mrkva Nov 4 '10 at 16:47

You wrote a global value that wasn't there before.

to read it now:

defaults -currentHost read -globalDomain AppleFontSmoothing

to change it

defaults -currentHost write -globalDomain AppleFontSmoothing -int SIZE#

to set it back to normal

defaults -currentHost delete -globalDomain AppleFontSmoothing

Further down in the post you referenced this is all referenced. More info on defaults can be found at apple's developer site.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.