Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've connected my 2007 Mac mini to a vizio TV display using a dvi to VGA adaptor.

OSX correctly identifies the display so the DDC is working, yet OSX is also providing several resolutions which the display can't actually support. When someone changes the display resolution, usually inside a game, the display stops working and I have to go through a bit of effort to make the system usable again.

I'd like to force OSX to only display 1920x1080 in the available resolutions.

Is there a way to only permit OSX to display one available resolution for this monitor?

share|improve this question

1 Answer 1

I have not used this application, but apparently you can do that (and much more) in SwitchResX, available here: http://www.madrau.com/indexSRX4.html

On this page it says that "SwitchResX can also block unused resolutions": http://www.madrau.com/functions/custom/custom.html, and since the software allows to create display settings for individual applications (described here: http://www.madrau.com/functions/app/app.html), maybe you can even disable certain resolutions in that game and other relevant apps only.

SwitchResX is shareware and costs 14 USD. You can try it for free for 10 days.


If you want to disable available resolutions manually, edit this file

/System/Library/Frameworks/IOKit.framework/Versions/A/Resources/IOGraphicsProperties.plist

In there is a section that looks something like this:

    <key>gtf-resolutions</key>
<array>
    <integer>640</integer>
    <integer>800</integer>
    <integer>1024</integer>
    <integer>1280</integer>
    <integer>50332928</integer>
    <integer>67110144</integer>
    <integer>1344</integer>
    <integer>1400</integer>
    <integer>1600</integer>
    <integer>1920</integer>
    <integer>100665344</integer>
    <integer>2304</integer>
</array>

These are all widths, the height is calculated by the system. You cannot delete the maximum resolution, it is not listed in this file but comes from the monitor itself.

Add or delete resolutions from that section.

I have not tried this myself, and you are doing it at your own risk.

Note: To edit this file, you must either be logged in as root, edit it using sudo in the Terminal and a terminal-based editor such as vi, or use an editor that unlocks the file for you such as TextWrangler. Or, and this might be the best way, copy the file to the Desktop, edit it, and then drag and drop it back to the correct location holding down the Option key (you will be asked for your Admin password).

It might be a good idea to create a backup of the original file before you make any changes.

share|improve this answer

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.