documents/devices/Mac-display.md

Enable HiDPI for Mac

https://github.com/jakehilborn/displayplacer

  1. Install Homebrew if not yet installed

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  2. Install displayplacer (it is an open source app so don't worry)

    brew tap jakehilborn/jakehilborn && brew install displayplacer
    
  3. Run the following command to get the display id

    displayplacer list
    
  4. You'll see all the displays connected to your Mac and all the available resolutions.

  5. Copy the display id of the display you want to fix

  6. Focus on only the resolutions that have scaling: on under the desired display

  7. Copy the mode number of the resolution you want to fix

  8. Run the following command to use the display (replace the <DISPLAY_ID> and <MODE_NUMBER> of course)

displayplacer "id:<DISPLAY_ID> mode:<MODE_NUMBER>"