{"action":"created","issue":{"url":"https://api.github.com/repos/syscl/Enable-HiDPI-OSX/issues/49","repository_url":"https://api.github.com/repos/syscl/Enable-HiDPI-OSX","labels_url":"https://api.github.com/repos/syscl/Enable-HiDPI-OSX/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/syscl/Enable-HiDPI-OSX/issues/49/comments","events_url":"https://api.github.com/repos/syscl/Enable-HiDPI-OSX/issues/49/events","html_url":"https://github.com/syscl/Enable-HiDPI-OSX/issues/49","id":344260284,"node_id":"MDU6SXNzdWUzNDQyNjAyODQ=","number":49,"title":"macOS 10.13.6 Dell P2416D 2k显示器 亲测可用","user":{"login":"iedwin","id":17739715,"node_id":"MDQ6VXNlcjE3NzM5NzE1","avatar_url":"https://avatars0.githubusercontent.com/u/17739715?v=4","gravatar_id":"","url":"https://api.github.com/users/iedwin","html_url":"https://github.com/iedwin","followers_url":"https://api.github.com/users/iedwin/followers","following_url":"https://api.github.com/users/iedwin/following{/other_user}","gists_url":"https://api.github.com/users/iedwin/gists{/gist_id}","starred_url":"https://api.github.com/users/iedwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iedwin/subscriptions","organizations_url":"https://api.github.com/users/iedwin/orgs","repos_url":"https://api.github.com/users/iedwin/repos","events_url":"https://api.github.com/users/iedwin/events{/privacy}","received_events_url":"https://api.github.com/users/iedwin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-25T01:38:47Z","updated_at":"2018-09-06T16:18:27Z","closed_at":null,"author_association":"NONE","body":"自己折腾的半天，最终用项目主在某个issue中提供的一个链接plist文件成功搞定。现在把结合 https://www.jianshu.com/p/30e6f84ffce8 , 自己重新整理总结的步骤发一下，希望对有需要的朋友有帮助。\r\n我的机器MacBook Pro (13-inch, Mid 2012)，SIP之前已关闭。\r\n\r\n### 貌似大家都在说最好用DP线，用转接头为啥可能失败不太清楚。\r\n\r\n## 步骤:\r\n### 1. 开启macOS的HiDPI选项\r\n```\r\nsudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true\r\n```\r\n### 2. 下面的两个命令会返回两个带10进制数字的结果，记下来，转换成16进制数字，其中第一个是用来命名文件夹的，第二个是用来命名文件的。\r\n( 2个结果的原因是1个是内置显示器，另一个是外接显示器 )\r\n```\r\nioreg -l | grep \"DisplayVendorID\"\r\nioreg -l | grep \"DisplayProductID\"\r\n```\r\n### 3. 在任意位置（桌面上比较好）建立一个文件夹，并在文件夹中命名一个文件，其中文件夹的名字为DisplayVendorID-XXX，文件的名字为DisplayProductID-XXX，XXX则是前面转换成16进制的两个数字。\r\n### 4. 文件的内容是一个plist格式的文件，内容如下，可以使用xcode编辑工具编辑。将DisplayProductID和DisplayVendorID改为外接显示器的信息。(感谢syscl !)\r\n```plist\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\r\n<plist version=\"1.0\">\r\n<dict>\r\n    <key>DisplayProductID</key>\r\n    <integer>41156</integer>\r\n    <key>DisplayVendorID</key>\r\n    <integer>4268</integer>\r\n    <key>scale-resolutions</key>\r\n    <array>\r\n        <data>AAAKAAAABaAAAAABACAAAA==</data>\r\n        <data>AAAFAAAAAtAAAAABACAAAA==</data>\r\n        <data>AAAPAAAACHAAAAABACAAAA==</data>\r\n        <data>AAAHgAAABDgAAAABACAAAA==</data>\r\n        <data>AAAMgAAABwgAAAABACAAAA==</data>\r\n        <data>AAAGQAAAA4QAAAABACAAAA==</data>\r\n        <data>AAAKAgAABaAAAAABACAAAA==</data>\r\n        <data>AAAKrAAABgAAAAABACAAAA==</data>\r\n        <data>AAAFVgAAAwAAAAABACAAAA==</data>\r\n    </array>\r\n</dict>\r\n</plist>\r\n\r\n\r\n```\r\n### 5. 把整个文件夹拷贝到/System/Library/Displays/Contents/Resources/Overrides/\r\n### 6. 重启后用RDM开启HiDPI"},"comment":{"url":"https://api.github.com/repos/syscl/Enable-HiDPI-OSX/issues/comments/419154763","html_url":"https://github.com/syscl/Enable-HiDPI-OSX/issues/49#issuecomment-419154763","issue_url":"https://api.github.com/repos/syscl/Enable-HiDPI-OSX/issues/49","id":419154763,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTE1NDc2Mw==","user":{"login":"CocoaBob","id":489666,"node_id":"MDQ6VXNlcjQ4OTY2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/489666?v=4","gravatar_id":"","url":"https://api.github.com/users/CocoaBob","html_url":"https://github.com/CocoaBob","followers_url":"https://api.github.com/users/CocoaBob/followers","following_url":"https://api.github.com/users/CocoaBob/following{/other_user}","gists_url":"https://api.github.com/users/CocoaBob/gists{/gist_id}","starred_url":"https://api.github.com/users/CocoaBob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CocoaBob/subscriptions","organizations_url":"https://api.github.com/users/CocoaBob/orgs","repos_url":"https://api.github.com/users/CocoaBob/repos","events_url":"https://api.github.com/users/CocoaBob/events{/privacy}","received_events_url":"https://api.github.com/users/CocoaBob/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T16:18:27Z","updated_at":"2018-09-06T16:18:27Z","author_association":"NONE","body":"请问，你们连接显示器用的是 DisplayPort 还是 HDMI？\r\n我在寻找让仅有 HDMI 的电视机支持 HiDPI 的解决方案~"}}
{"actor":{"display_login":"CocoaBob"}}