2018-06-11 00:03:20 +08:00
|
|
|
# Enable macOS HiDPI
|
2018-04-03 02:59:50 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
## Explanation
|
2018-04-03 02:59:50 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
[English](README.md) | [中文](README-zh.md)
|
2018-04-03 02:59:50 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
This script can simulate macOS HiDPI on a non-retina display, and have a "Native" Scaled in System Preferences.
|
2018-04-03 02:59:50 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
Some device have wake-up issue, script's second option may help, it inject a patched EDID, but another problem may exists here.
|
2018-04-03 04:30:49 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
Logo scaling up may not be resolved, cuz the higher resolution is faked.
|
2018-04-03 02:59:50 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
System Preferences
|
2018-04-03 02:59:50 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|

|
2018-04-03 02:59:50 +08:00
|
|
|
|
2019-02-17 20:52:19 +08:00
|
|
|

|
2019-02-01 00:21:38 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
## Usage
|
|
|
|
|
|
2020-04-17 17:36:57 +08:00
|
|
|
1.Remote Mode: Run this script in Terminal
|
2018-04-03 02:59:50 +08:00
|
|
|
|
2019-01-24 02:53:19 +08:00
|
|
|
```bash
|
2019-11-19 04:59:55 +08:00
|
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/dev/hidpi.sh)"
|
2018-04-03 02:59:50 +08:00
|
|
|
```
|
|
|
|
|
|
2020-04-17 17:58:39 +08:00
|
|
|
2.Local Mode: Download ZIP, decompressing it, and double click `hidpi.command` to run
|
2020-04-17 17:36:57 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|

|
|
|
|
|
|
|
|
|
|
## Recovery
|
2018-04-03 05:13:30 +08:00
|
|
|
|
2019-01-24 02:53:19 +08:00
|
|
|
### Normal
|
2018-04-03 05:13:30 +08:00
|
|
|
|
2019-01-24 02:53:19 +08:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
1.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
ls /Volumes/
|
2020-11-16 08:50:08 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
you can see all Disk.
|
2018-04-03 05:13:30 +08:00
|
|
|
|
2020-11-16 08:50:08 +08:00
|
|
|
```bash
|
|
|
|
|
cd /Volumes/"Your System Disk Part"/Users/
|
|
|
|
|
|
|
|
|
|
ls
|
2018-04-03 05:13:30 +08:00
|
|
|
```
|
2019-01-24 02:53:19 +08:00
|
|
|
|
2020-11-16 08:50:08 +08:00
|
|
|
you can see user home directory.
|
2019-01-24 02:53:19 +08:00
|
|
|
|
2020-11-16 08:50:08 +08:00
|
|
|
```bash
|
|
|
|
|
cd "user name"
|
|
|
|
|
|
|
|
|
|
./.hidpi-disable
|
|
|
|
|
```
|
2019-01-24 02:53:19 +08:00
|
|
|
|
2020-11-16 08:50:08 +08:00
|
|
|
2.
|
2019-01-24 02:53:19 +08:00
|
|
|
|
2020-11-16 08:50:08 +08:00
|
|
|
Remove all injected display's DisplayVendorID folder under `Library/Displays/Contents/Resources/Overrides`
|
2019-01-24 02:53:19 +08:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
ls /Volumes/
|
2020-11-16 08:50:08 +08:00
|
|
|
rm -rf /Volumes/"Your System Disk Part"/Library/Displays/Contents/Resources/Overrides
|
2018-04-03 05:13:30 +08:00
|
|
|
```
|
|
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
## Inspired
|
|
|
|
|
|
|
|
|
|
https://www.tonymacx86.com/threads/solved-black-screen-with-gtx-1070-lg-ultrafine-5k-sierra-10-12-4.219872/page-4#post-1644805
|
2018-04-03 05:13:30 +08:00
|
|
|
|
2018-06-11 00:03:20 +08:00
|
|
|
https://github.com/syscl/Enable-HiDPI-OSX
|