Notice: Welcome To Explore Information Website
Home Blog Let your screen also support HiDPI zoom mode

Let your screen also support HiDPI zoom mode

by Technical otaku - 2022-06-19 2171 0 2

Note: The script cannot be executed directly on the Apple Silicon machine because the script cannot obtain the correct ID. However, you can execute the script on the Intel machine first and then drop the configuration file to the Apple Silicon machine with macOS 12.4 and above, and the HiDPI setting will appear.

Thanks to GaryNil for providing this method, I will write the teaching again.

Because it is old, the original 3440×1440 screen is easy to read, but now I feel that the characters are a little small. I originally wanted to adjust the screen to another option provided by the system: 2560×1080 to use, but after adjustment, I found that it was like a ghost, so Continue to use 3440×1440, and then use the method described below to directly modify the resolution natively, which not only allows my 3440×1440 21:9 screen image to be adjusted to the desired zoom level, but also hardly affects the picture quality (a certain At some resolutions it will even be clearer)

First of all, let's take a look at what it looks like before the modification. This is the monitor setting screen I took in the screenshot of macOS 12.0.1. You can see that this is a common external monitor setting. You can choose the default resolution or zoom. But the scaling mode looks blurry because it doesn't support HiDPI.

The operation of this modification is as follows:

Open the terminal and enter


bash -c "$(curl -fsSL"

The first step is to choose 1, the second step is casual (just modify the icon, it does not affect), and the third step is to choose 6.

You will then be prompted to enter a custom resolution, please enter

I use a 3440×1440 screen, so input 3440x1440 2560x1072 5120x2144 3058x1280, if you use a screen with other resolutions, please calculate the appropriate value yourself. If the resolution has a decimal point, remember to round it up. It is recommended to enter four groups of values, and there will be no problem in comparison.

Another example, 3840 × 2160 screen, because it is 16:9, so set four groups of 16:9 numbers, such as 3840x2160 3200x1800 2880x1620 2560x1440this .

After the input is completed, a prompt asking you to reboot will appear. After rebooting, check the screen resolution settings and it should look like this:

There are only four options left, but all four are HiDPI, so you can scale painlessly.

If you want to restore the original settings, please /Library/Displays/Contents/Resources/Overrides/delete the files in and reboot.


Github original project link:


Leave a Comment

Your email address will not be published. Required fields are marked *