Home

Awesome

Enable HiDPI on macOS

Hola, this is an ongoing project targets at enable the support of HiDPI for display with a high resolution under macOS. AFAIK, there is various way to patch/force the HiDPI mode, however, I want to create a more precise and clean way to patch the system. That's why I start to build this project.

I know there's still long way to go, but this time, I want to share this patch ASAP. All the suggestions are welcome. I just added a new function which can add as much as HiDPI resolutions you want at the same time. Wish you will enjoy it!

How to use?

Download the latest enable-HiDPI.sh by entering the following command in a terminal window:

curl -o ~/enable-HiDPI.sh https://raw.githubusercontent.com/syscl/Enable-HiDPI-OSX/master/enable-HiDPI.sh

Download the latest restore program just in case the enable-HiDPI stall the system

curl -o ~/restore https://raw.githubusercontent.com/syscl/Enable-HiDPI-OSX/master/restore

This will download enable-HiDPI.sh and restore.sh to your home directory (~) and the next step is to change the permissions of the file (add +x) so that it can be run.

chmod +x ~/enable-HiDPI.sh
chmod +x ~/restore

Run the script in a terminal window by:

~/enable-HiDPI.sh

Once you finish injecting the HiDPI values, reboot your OS X and use Retina Display Menu (RDM) to choose the resolution you want.

How to restore?

Go to single mode in macOS, enter the following

/sbin/fsck -fy /
/sbin/mount -uw /

This will make your root filesystem avaiable to read and write, we then go to the home directory of your unix user name, suppose my user name is syscl, then I should type in

cd /User/syscl
./restore

Choose the restore point you want it to restore, then type in reboot to restore back to original

reboot

Change Log

2019-01-19

2018-03-18

2018-03-16

2018-02-17

2016-10-4

2016-10-1

2016-7-30

2016-5-24

2016-5-23

2016-5-22

2016-3-4

2016-3-3

////