> ## Content Index
> Fetch the complete content index at: https://www.moeox.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# macos 强制开启RGB显示输出
- URL: https://www.moeox.com/macos--e5-bc-ba-e5-88-b6-e5-bc-80-e5-90-afrgb-e6-98-be-e7-a4-ba-e8-be-93-e5-87-ba/
- Published: 2022-08-27T09:33:13.000Z
- Updated: 2022-08-27T09:33:13.000Z
- Author: asumi233
- Tags: macos, #wp, #wp-post, #Import 2026-09-01 23:51

通过使用脚本生成对应显示器强制RGB输出的eeid文件 然后将文件放入对应位置

1.脚本下载地址：

[https://gist.github.com/adaugherity/7435890](https://gist.github.com/adaugherity/7435890?ref=moeox.com)

2.运行脚本生成每台显示器的EEID

```bash
ruby patch-edid.rb
```

3.安装生成好的DisplayVendorID-xxxx文件夹

以下操作不需要关闭sip 等操作 只需要账户密码即可

文件夹放到的是数据文件夹 恢复之前的只需要删除对应文件即可

```bash
sudo mkdir -p /Library/Displays/Contents/Resources/Overrides
sudo mv DisplayVendorID-xxxx /Library/Displays/Contents/Resources/Overrides
```