one-key-hidpi README

The project's README from github.com/xzhih/one-key-hidpi. As one markdown file: README.md.

Enable macOS HiDPI

Explanation

English | 中文

 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

Preferences

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

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

1.

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

2.

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

https://www.tonymacx86.com/threads/solved-black-screen-with-gtx-1070-lg-ultrafine-5k-sierra-10-12-4.219872/page-4#post-1644805

https://github.com/syscl/Enable-HiDPI-OSX

one-key-hidpi (xzhih/one-key-hidpi)

Searching Database…

这是做什么的?一个 shell 脚本,可以在非视网膜(Retina)屏幕上模拟 macOS 的 HiDPI 效果,让“系统偏好设置”里出现和 Retina Mac 一样的“缩放”原生选项。
这是个 Mac 应用,还是我要在终端里运行的东西?它是一个 shell 脚本,不是应用——不需要安装任何东西;运行它会写入 HiDPI 显示设置,再次运行即可撤销。
我怎么运行它?远程模式:直接在终端里运行脚本。本地模式:下载 ZIP 压缩包,解压后双击 hidpi.command。
运行之前需要先安装什么吗?只需要 macOS 本身——这是一个独立完整的 shell 脚本,没有任何需要提前准备的依赖。
用这种方式伪造 HiDPI 有什么已知的问题吗?有:部分设备会出现唤醒问题(脚本的第二个选项会注入修改过的 EDID,但可能引发其他问题),而且由于高分辨率是伪造的,开机 logo 可能无法相应放大。
在非 Retina 屏幕上开 HiDPI 对我有什么用?这样你的 Mac 就能提供多种缩放分辨率,并在“系统偏好设置”里出现正常的“缩放”原生选项——和 Retina Mac 一样的显示设置——而不是只有屏幕固定的那一个分辨率。
这个脚本实际上会在我的系统里改动什么?它会添加显示器覆盖文件——即 Library/Displays/Contents/Resources/Overrides 下以 DisplayVendorID 命名的文件夹——删掉这个文件夹就能完全撤销改动。
Creator
xzhih
Size
3.5 MB
Stars
11.2K
Updated
CommitApr 05
Age
8y
Commits · 90 Days