/ hidpi

DELL U2515H 强制开启 HiDIP 分辨率

总是感觉在家没什么动力学习、写代码、阅读,发现其实自己需要一台大的显示器,看了一圈,入了DELL 的 2K U2515H,于是才有了下文。

开启 HiDPI Mode

sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true

下载 plist 配置文件并拷贝到系统文件夹

DisplayProductID-d06e.plist

<plist version="1.0">
<dict>
<key>DisplayProductName</key>
<string>DELL U2515H</string>
<key>DisplayProductID</key>
<integer>53358</integer>
<key>DisplayVendorID</key>
<integer>4268</integer>
<key>scale-resolutions</key>
<array>
<data>AAAKAAAABaAAAAABACAAAA==</data>
<data>AAAFAAAAAtAAAAABACAAAA==</data>
<data>AAAPAAAACHAAAAABACAAAA==</data>
<data>AAAHgAAABDgAAAABACAAAA==</data>
<data>AAAQAAAACQAAAAABACAAAA==</data>
<data>AAAIAAAABIAAAAABACAAAA==</data>
<data>AAAHgAAABLAAAAABACAAAA==</data>
<data>AAAIAAAABQAAAAABACAAAA==</data>
</array>
</dict>
</plist>

sudo cp ~/Downloads/DisplayProductID-d06e.plist /System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-10ac/DisplayProductID-d06e

注意:你可能需要 禁用SIP (风险自负) 才能拷贝文件到 /System/

重启 Mac 并启用HiDPI分辨率

推荐使用 RDM 来切换分辨率

参考链接

https://comsysto.com/blog-post/force-hidpi-resolutions-for-dell-u2515h-monitor
https://github.com/avibrazil/RDM
https://comsysto.github.io/Display-Override-PropertyList-File-Parser-and-Generator-with-HiDPI-Support-For-Scaled-Resolutions/