[macOS] [Catalina, Big Sur, Monterey, Ventura] kích hoạt chế độ HiDPI cho màn hình 2K sắc nét

anthien767

New member
-N iodisplayedDevices |awk '/ iodisplayDevice/ {in $ 2}'


- Tạo tệp plist cho màn hình
Touch ~/Desktop/<DisplayID> .Plist


- Mở tệp plist bằng mã sau:
<plist phiên bản = "1.0">
<SiNT>
<Key> DisplayResolutionEnables </key>
<true/>
</dict>
</plist>


- Đặt độ phân giải màn hình
SUDO Mặc định ghi /l Library/


Ví dụ:
SUDO Mặc định ghi /l Library/


2. Kích hoạt chế độ HIDPI cho tất cả các màn hình bên ngoài:
- Mở đèn chiếu sáng để bắt đầu ứng dụng thiết bị đầu cuối


- Kích hoạt chế độ HIDPI
Sudo mặc định ghi /l Library/preferences/act


- Xác định ID của tất cả các màn hình bên ngoài
Ioreg -lw0 -n iodisplayeddevices |awk '/ iodisplayDevice/ {in $ 2}'
** Cách bật chế độ HIDPI trên màn hình bên ngoài cho MAC **

** Cập nhật cho Ventura 13.x: **

1. ** Phương pháp 1: **

- Nhấp vào biểu tượng trên thanh menu, ở phía dưới, nhấn biểu tượng bánh răng vô hình.
- Chọn tab ** Hiển thị **.Lưu ý rằng bên dưới màn hình bên ngoài (như được hiển thị trong hình là Dell SE2723DS), bật 2 tùy chọn:
- ** Chỉnh sửa cấu hình hệ thống mặc định của màn hình này **
- ** Thiết lập tỷ lệ độ phân giải mượt mà **
- Nhấp vào ** Áp dụng **, nhập mật khẩu, sau đó khởi động lại.
- Sau khi khởi động lại, sẽ có tùy chọn HIDPI 1920x1080.

2. ** Phương pháp 2: ** (chi phí một chút tài nguyên)

- Tạo một màn hình giả.
- Sau đó phản chiếu vào màn hình bên ngoài.

** Cập nhật cho Big Sur (11.0.1), Monterey (12.x.x): **

** Lưu ý: ** Big Sur cần quay lại CSRutil xác thực-ROOT vô hiệu hóa.

** Các thiết bị được sử dụng trong bài viết: **

- Mac Mini 2018, MacBookPro 2015, 2019 (Catalina+)
- Màn hình Dell 2K U2518D
- Màn hình Dell 2K P2723DE

** 1.Tạo một tệp plist riêng cho màn hình: **

- Mở đèn chiếu sáng để bắt đầu ứng dụng thiết bị đầu cuối.

** 2.Kích hoạt chế độ HIDPI: **

`` `
sudo mặc định ghi /l Library/preferences/act
`` `

** 3.Xác định ID của màn hình: **

`` `
ioreg -lw0 -n iodisplayeddevices |awk '/ iodisplayDevice/ {in $ 2}'
`` `

**4.Tạo tệp plist cho màn hình: **

`` `
Touch ~/Desktop/<DisplayID> .Plist
`` `

** 5.Mở tệp plist bằng mã sau: **

`` `
<plist phiên bản = "1.0">
<SiNT>
<Key> DisplayResolutionEnables </key>
<true/>
</dict>
</plist>
`` `

** 6.Đặt độ phân giải màn hình: **

`` `
SUDO Mặc định ghi /l Library/
`` `

**Ví dụ:**

`` `
SUDO Mặc định ghi /l Library/
`` `

** 7.Bật chế độ HIDPI cho tất cả các màn hình bên ngoài: **

- Mở đèn chiếu sáng để bắt đầu ứng dụng thiết bị đầu cuối.

**số 8.Kích hoạt chế độ HIDPI: **

`` `
Sudo mặc định viết
=======================================
-n IODisplayedDevices | awk '/IODisplayDevice/ {print $2}'


- Create a Plist file for the screen
touch ~/Desktop/<DisplayID>.plist


- Open the Plist file with the following code:
<plist version="1.0">
<dict>
<key>DisplayResolutionEnabled</key>
<true/>
</dict>
</plist>


- Set the screen resolution
sudo defaults write /Library/Preferences/<DisplayID>.plist DisplayResolution -string <resolution>


Example:
sudo defaults write /Library/Preferences/0x32281000.plist DisplayResolution -string 1920x1080


2. Enable HIDPI mode for all external screens:
- Open the Spotlight to start the Terminal application


- Activate HIDPI mode
Sudo Defaults Write /Library/preferences/com.apple.windowserver.plist Displayresolutionenabled -Bool True


- Determine the ID of all external screens
Ioreg -LW0 -n IODisplayedDevices | awk '/IODisplayDevice/ {print $2}'
**How to enable HiDPI mode on external monitors for Mac**

**Update for Ventura 13.x:**

1. **Method 1:**

- Click the icon on the Menu bar, at the bottom, press the invisible gear icon.
- Select the **Displays** tab. Note that below the external display (as shown in the picture is Dell SE2723DS), turn on 2 options:
- **Edit the default system Configuration of this display**
- **Set up Native Smooth Resolution Scaling**
- Click **Apply**, enter the password, and then restart.
- After restarting, there will be a HIDPI option 1920x1080.

2. **Method 2:** (slightly costs resources)

- Create a Dummy Monitor.
- Then Mirror to the external display.

**Update for Big Sur (11.0.1), Monterey (12.x.x):**

**Note:** Big Sur needs to go back to CSRUTIL Authenticated-Root Disable.

**Devices used in the article:**

- Mac Mini 2018, MacBookPro 2015, 2019 (Catalina+)
- Dell 2K U2518D screen
- Dell 2K P2723DE screen

**1. Create a separate Plist file for the screen:**

- Open the Spotlight to start the Terminal application.

**2. Activate HIDPI mode:**

```
sudo defaults write /Library/preferences/com.apple.windowserver.plist Displayresolutionenabled -Bool True
```

**3. Determine the ID of the screen:**

```
ioreg -LW0 -n IODisplayedDevices | awk '/IODisplayDevice/ {print $2}'
```

**4. Create a Plist file for the screen:**

```
touch ~/Desktop/<DisplayID>.plist
```

**5. Open the Plist file with the following code:**

```
<plist version="1.0">
<dict>
<key>DisplayResolutionEnabled</key>
<true/>
</dict>
</plist>
```

**6. Set the screen resolution:**

```
sudo defaults write /Library/Preferences/<DisplayID>.plist DisplayResolution -string <resolution>
```

**Example:**

```
sudo defaults write /Library/Preferences/0x32281000.plist DisplayResolution -string 1920x1080
```

**7. Enable HIDPI mode for all external screens:**

- Open the Spotlight to start the Terminal application.

**8. Activate HIDPI mode:**

```
sudo defaults write
 
Join Telegram ToolsKiemTrieuDoGroup
Back
Top