Jump to content

Search the Community: Showing results for tags 'overrides'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • InsanelyMac Lounge
    • Front Page News and Rumors
    • Reader News and Reviews
    • Forum Information and Feedback
  • OSx86 Project
    • New Releases and Updates
    • New Users Lounge
    • Developers Corner
    • Tutorials (The Genius Bar)
    • Technical FAQ
    • Installation
    • Post-Installation
    • DSDT and SSDT
    • Hardware Components and Drivers
    • Desktops
    • Notebooks
    • Netbooks
    • Tablets
    • MacMod of the Month
    • Multi-booting and Virtualisation
  • International
    • Your Language
    • Deutsch
    • Español
    • Français
    • Italiano
    • Português
    • Русский
  • Apple World
    • Mac OS X
    • Apple Computers and Hardware
    • iOS Devices
    • Mac Applications
    • Mac Programming and Development
    • iOS Programming and Development
    • Mac Gaming
    • Mac Accessories
  • Discuss and Learn
    • Windows Discussion
    • *nix
    • Apple Opinions and Discussion
    • The Great Debates
    • Internet(s), Servers, and Networks
    • Buying Thoughts, Reviews, and Recommendations
    • Mods and Overclocking
    • The Big Issues [Real Life]
  • Everything Else
    • Creativity
    • Thunderdome (Random Stuff)
    • Laughs
    • The Marketplace

Categories

  • Kexts
    • Graphics Cards
    • Audio
    • LAN and Wireless
    • Other
  • Kernels
  • Bootloaders
  • DSDTs
    • Patches
  • Pandora
  • Apps
  • Miscellaneous
  • Customization

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi, my new Dell U2515H is connected via DisplayPort to a Intel HD4600. I like this monitor very much but with the native resolution of 2560x1440 pixel system-font looks really small. So I activated HiDPI from the terminal: sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true but with the "1280x720 HiDPI" resolution the screen is to small After a long search I found a solution - display overrides. For this I put an override-file 'DisplayProductID-d06f' with the code below to /System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-10ac/DisplayProductID-d06f <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DisplayProductName</key> <string>Dell U2515H (HiDPI)</string> <key>DisplayVendorID</key> <integer>4268</integer> <key>DisplayProductID</key> <integer>53359</integer> <key>scale-resolutions</key> <array> <data>AAAPAAAACHAAAAAB</data> <!-- 3840x2160 to get 1920x1080 HiDPI --> <data>AAAMgAAABwgAAAAB</data> <!-- 3200x1800 to get 1600x900 HiDPI --> <data>AAALQAAABlQAAAAB</data> <!-- 2880x1620 to get 1440x810 HiDPI --> </array> </dict> </plist> The Monitor use another ProductID if it's connected to HDMI. Therefore I need another override file. To verify the ProductID, I use this from terminal: ioreg -l -w0 -d0 -r -c AppleDisplay | grep ID | grep -v IO This override has a patched EDID to support RGB color mode with HDMI (see http://embdev.net/topic/284710 for more info) <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DisplayProductName</key> <string>Dell U2515H (HiDPI + RGB)</string> <key>IODisplayEDID</key> <data>AP///////wAQrG/QTEE0MCkZAQSlNx94JkRVqVVNnSYPUFSlSwCzANEAcU+p QIGAd4ABAQEBVl4AoKCgKVAwIDUAKTchAAAaAAAA/wBYWFhYWFhYWFhYWFgK AAAA/ABERUxMIFUyNTE1SAogAAAA/QA4Vh5xHgEKICAgICAgAKM=</data> <key>DisplayVendorID</key> <integer>4268</integer> <key>DisplayProductID</key> <integer>53360</integer> <key>scale-resolutions</key> <array> <data>AAAPAAAACHAAAAAB</data> <!-- 3840x2160 to get 1920x1080 HiDPI --> <data>AAAMgAAABwgAAAAB</data> <!-- 3200x1800 to get 1600x900 HiDPI --> <data>AAALQAAABlQAAAAB</data> <!-- 2880x1620 to get 1440x810 HiDPI --> </array> </dict> </plist> Reboot and done For easy resolution switching I wrote a command-line tool based on RetinaDisplayMenu. I put SetDisplayResolution to /usr/local/bin and use Karabiner to create the keyboard shortcuts. From my private.xml <vkopenurldef> <name>KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_2560x1440</name> <url type="shell">/usr/local/bin/SetDisplayResolution -w 2560 -h 1440 -s 1</url> </vkopenurldef> <vkopenurldef> <name>KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_1920x1080_HiDpi</name> <url type="shell">/usr/local/bin/SetDisplayResolution -w 1920 -h 1080 -s 2</url> </vkopenurldef> <vkopenurldef> <name>KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_1600x900_HiDpi</name> <url type="shell">/usr/local/bin/SetDisplayResolution -w 1600 -h 900 -s 2</url> </vkopenurldef> <vkopenurldef> <name>KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_1440x810_HiDpi</name> <url type="shell">/usr/local/bin/SetDisplayResolution -w 1440 -h 810 -s 2</url> </vkopenurldef> <vkopenurldef> <name>KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_1280x720_HiDpi</name> <url type="shell">/usr/local/bin/SetDisplayResolution -w 1280 -h 720 -s 2</url> </vkopenurldef> <item> <name>Apple Magic Keyboard</name> <item> <name>BRIGHTNESS_DOWN+COMMAND_L to SetDisplayResolution 2560x1440</name> <identifier>apple.magic-keyboard.sdr_2560x1440</identifier> <device_only>DeviceVendor::Apple_Bluetooth, DeviceProduct::MAGIC_KEYBOARD</device_only> <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_DOWN, ModifierFlag::COMMAND_L, KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_2560x1440, Option::NOREPEAT</autogen> </item> <item> <name>BRIGHTNESS_UP+COMMAND_L to SetDisplayResolution 1920x1080 (HiDPI)</name> <identifier>apple.magic-keyboard.sdr_1920x1080_hidpi</identifier> <device_only>DeviceVendor::Apple_Bluetooth, DeviceProduct::MAGIC_KEYBOARD</device_only> <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP, ModifierFlag::COMMAND_L, KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_1920x1080_HiDpi, Option::NOREPEAT</autogen> </item> <item> <name>BRIGHTNESS_UP+COMMAND_L to SetDisplayResolution 1600x900 (HiDPI)</name> <identifier>apple.magic-keyboard.sdr_1600x900_hidpi</identifier> <device_only>DeviceVendor::Apple_Bluetooth, DeviceProduct::MAGIC_KEYBOARD</device_only> <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP, ModifierFlag::COMMAND_L, KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_1600x900_HiDpi, Option::NOREPEAT</autogen> </item> <item> <name>BRIGHTNESS_UP+COMMAND_L to SetDisplayResolution 1440x810 (HiDPI)</name> <identifier>apple.magic-keyboard.sdr_1440x810_hidpi</identifier> <device_only>DeviceVendor::Apple_Bluetooth, DeviceProduct::MAGIC_KEYBOARD</device_only> <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP, ModifierFlag::COMMAND_L, KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_1440x810_HiDpi, Option::NOREPEAT</autogen> </item> <item> <name>BRIGHTNESS_UP+COMMAND_L to SetDisplayResolution 1280x720 (HiDPI)</name> <identifier>apple.magic-keyboard.1280x720</identifier> <device_only>DeviceVendor::Apple_Bluetooth, DeviceProduct::MAGIC_KEYBOARD</device_only> <autogen>__KeyToKey__ KeyCode::BRIGHTNESS_UP, ModifierFlag::COMMAND_L, KeyCode::VK_OPEN_URL_SHELL_SetDisplayResolution_1280x720_HiDpi, Option::NOREPEAT</autogen> </item> </item> Have Fun! DisplayProductID-d06f.zip SetDisplayResolution.zip DisplayProductID-d070.zip
×