Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

I don't know how to see the pixel densities of displays, but the resolutions are stored in ~/Library/Preferences/ByHost/com.apple.windowserver*.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 com.apple.windowserver* in directory you specified or anywhere else. –  Andrew Oct 14 '12 at 22:20
add comment

Your Answer

 
discard

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.