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'm developing an application and on one machine with Retina display I have a few problems regarding resolution. To debug it I want to have resolution and dpi settings, so, where can I find a configuration file with these settings?

share|improve this question
You'll be much better off using the GUI to configure the screen settings. Please don't mess around with config files. I've learnt that the hard way. – user3463 Oct 13 '12 at 20:38
@RandolphWest default GUI doesn't show dpi settings. I'm not going to change config files anyway, I thought it might be a good way to obtain an information about machine without using third-party software. – Andrew Oct 13 '12 at 22:43

I don't know how to see the pixel densities of displays, but the resolutions are stored in ~/Library/Preferences/ByHost/*.plist. If you have multiple displays, it doesn't tell which display set is active or which is the main display though.

system_profiler SPDisplaysDataType only includes the currently active displays.

share|improve this answer
Thank you, system_profiler is quite helpful. I use 10.8.2 and it looks like I don't have* in directory you specified or anywhere else. – Andrew Oct 14 '12 at 22:20

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.