https://github.com/mafredri/macos-display-overrides
Display overrides to make (my) monitors work better on macOS
https://github.com/mafredri/macos-display-overrides
macos
Last synced: 8 months ago
JSON representation
Display overrides to make (my) monitors work better on macOS
- Host: GitHub
- URL: https://github.com/mafredri/macos-display-overrides
- Owner: mafredri
- License: mit
- Created: 2018-11-16T16:36:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-10T11:55:18.000Z (about 5 years ago)
- Last Synced: 2025-05-05T15:59:53.645Z (about 1 year ago)
- Topics: macos
- Language: Ruby
- Size: 455 KB
- Stars: 29
- Watchers: 4
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 [catalina](../../tree/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. Run `./install.sh`
## 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](./DisplayVendorID-10ac/DisplayProductID-d066.plist) override for an example
## Dumping display EDID
Create a dump for each display connected to your Mac.
```bash
n=0; \
ioreg -lw0 | grep "IODisplayEDID" \
| while read line; do \
((n++)); \
name=display-${n}.edid; \
sed "/[^<]*$name; \
echo "Created $name"; \
done
```
## Resources
- [Adding/Using HiDPI custom resolutions - tonymacx86.com](https://www.tonymacx86.com/threads/adding-using-hidpi-custom-resolutions.133254/)
- [Display Override PropertyList File Parser and Generator with HiDPI support](https://comsysto.github.io/Display-Override-PropertyList-File-Parser-and-Generator-with-HiDPI-Support-For-Scaled-Resolutions/)
- [edid-decode](https://git.linuxtv.org/edid-decode.git/)
- [avibrazil/RDM](https://github.com/avibrazil/RDM) - Easily set Mac Retina display to higher unsupported resolutions
- [usr-sse2/RDM](https://github.com/usr-sse2/RDM) - Fork, supports editing, icons, etc.
- [xzhih/one-key-hidpi](https://github.com/xzhih/one-key-hidpi)