Giter Club home page Giter Club logo

macos-display-overrides's Introduction

Display Overrides for macOS (Big Sur)

This repository is for display overrides to make (my) monitors work better on macOS.

For Catalina and older, see mafredis catalina-branch.

Goals

  • Force HiDPI modes for screens that are not supported (by macOS)
  • Force picture modes on misbehaving screens
  • Fix displays detected as TVs
  • Make sure Night Shift works on external displays
  • Allow picking HiDPI modes in Display preferences like for retina displays (less realiant on RDM)
  • Custom icons for displays

Usage

  1. Create overrides (DisplayVendorID-*/DisplayProductID-*.plist) or use the existing ones
  2. Open Terminal and run sudo install.sh from the project folder
  3. Reboot

After rebooting, the "Display" system preferences should show an updated display name in the title bar and if scaled resolutions are shown (option-click on "Scaled"): additional resolutions are available.

See screenshot below from my Dell U3818DW.

Screenshot of "Display" settings preferences

The highlighted resolutions correspond to a scaling of 80% respectively 75% of the native screens resolution.

Notes

  • Since macOS Mojave we no longer seem to need RGB edid overrides, they seem to be ineffective
    • We can use DisplayIsTV => false instead
  • Tweak target-default-ppmm to enable selection of HiDPI modes in System Preferences -> Display
    • Also requires adding the appropriate HiDPI resolutions
    • How do we calculate optimal ppmm for display x resolution?
    • See DELL U2715H override for an example

Dumping display EDID

Create a dump for each display connected to your Mac.

n=0; \
ioreg -lw0 | grep "IODisplayEDID" \
    | while read line; do \
        ((n++)); \
        name=display-${n}.edid; \
        sed "/[^<]*</s///" <<<"$line" | xxd -p -r >$name; \
        echo "Created $name"; \
    done

Resources

macos-display-overrides's People

Contributors

mafredri avatar pd95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.