xzhih/one-key-hidpi
xzhih/one-key-hidpi has 11,184 GitHub stars and 1,105 forks. GitHot measured +2 stars in 24 hours and +7 in 7 days. Last checked 2026-11-12 07:33 UTC. Last push 2025-04-05.
Enable macOS HiDPI and have a native setting.
Measured star growth
- in 24h
- +2
- in 7 days
- +7
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalEnable macOS HiDPI
Explanation
This script can simulate macOS HiDPI on a non-retina display, and have a "Native" Scaled in System Preferences.
Some device have wake-up issue, script's second option may help, it inject a patched EDID, but another problem may exists here.
Logo scaling up may not be resolved, cuz the higher resolution is faked.
System Preferences


Usage
1.Remote Mode: Run this script in Terminal
bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh)"
2.Local Mode: Download ZIP, decompressing it, and double click hidpi.command to run

Recovery
Normal
Still running the script in the terminal, but choose option 3
Recovery mode
If you cant boot into system, or get any another issues, you can boot into macOS Recovery mode, and use the Terminal.app
There are two ways to close it. It is recommended to choose the first one
ls /Volumes/
you can see all Disk.
cd /Volumes/"Your System Disk Part"/Users/
ls
you can see user home directory.
cd "user name"
./.hidpi-disable
Remove all injected display's DisplayVendorID folder under Library/Displays/Contents/Resources/Overrides
ls /Volumes/
rm -rf /Volumes/"Your System Disk Part"/Library/Displays/Contents/Resources/Overrides
Inspired
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,972 starspublic-apis/public-apis
A collective list of free APIs
498,367 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
453,692 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,377 stars