Включить hidpi mac os catalina

How to Enable HiDPI Mode in macOS

The magic of Apple’s “Retina” displays is that macOS (formally called Mac OS X) renders the user interface with four times as many pixels (twice the vertical and twice the horizontal resolutions) as it does on a traditional lower resolution display, giving users the benefits of ultra-sharp text and graphics without making the interface too small to see.

This works great on high-resolution displays like 4K monitors and the new 5K iMac, but what if you could have the benefit of Retina-like sharpness on a non-Retina monitor? Well, thanks to something called HiDPI mode in macOS/OS X, you can, although there’s a pretty big caveat.

How to Enable HiDPI Mode

HiDPI mode was initially available as an option in Xcode’s Quartz Debug utility, but since Mavericks has been accessible via a Terminal command. If you’re running Mountain Lion or older, check out this article at OS X Daily for instructions on how to enable HiDPI mode in OS X. I.

Note: If you’re using macOS Mojave, the Terminal commands shown below won’t work, so you’ll want to skip down to the part of this article that talks about “third-party applications.”

If you’re using macOS Mavericks or higher, then continue with the steps below:

  1. Fire up a new Terminal window and then copy and paste the following command:
    $ sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
  2. Then press Return to execute the command and, because this is a “sudo” command, enter your admin password when prompted.
  3. Next, reboot your Mac and, upon logging back in, head to System Preferences and click on Displays.
    Here you’ll see the familiar preference window where you can set your resolution and refresh rate.

Most users will likely have the “Default for Display” option checked, which is typically your display’s native resolution. Click Scaled to reveal additional resolutions and you’ll see one or more options at the bottom of the list with “(HiDPI)” appended to their resolutions. Click on one of the HiDPI modes to enable it on your desired display.

Note: If you’re not seeing the HiDPI resolutions listed in System Preferences after using the Terminal command above, try clicking on the “Scaled” radio button while holding the Alt/Option key on your keyboard. This trick reveals additional resolutions for all displays and should list the HiDPI resolutions if they weren’t already visible.

You’ll instantly see everything appear much sharper, but here comes the caveat: your effective resolution is much lower. This works on high-resolution Retina displays because macOS has millions of additional pixels to work with.

If you want “Retina-quality” on a standard-resolution display, you’re going to end up with a much lower effective resolution. For example, here’s what a native resolution of 1920×1200 looks like on a 20-inch iMac:
And here’s what HiDPI mode looks like with an effective resolution of 960×600:

Although it may be difficult to discern on your own display (you can click on each image to view them larger), the HiDPI mode makes macOS and apps look much crisper, but significantly reduces the working resolution of the system.

Читайте также:  Автоматическое изменение раскладки клавиатуры windows 10

You therefore likely won’t want to work in HiDPI mode all the time, but once you’ve enabled it with the Terminal command, you can easily switch to it when you want to view a particular app or document with Retina-like quality, or if you want to temporarily make the UI easier to see from a distance without the reduction in quality that accompanies using a “normal” lower resolution, such as when displaying OS X on an HDTV across the room.

When you want to switch back to the default native resolution, just head back to System Preferences > Displays and choose “Default for Display” or your preferred resolution from the “Scaled” list. It doesn’t hurt to leave HiDPI mode enabled as an option in OS X when you’re not using it, but if you want to remove the HiDPI mode resolutions from your “Scaled” resolutions list, just run the following command in Terminal:
$ sudo defaults delete /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled
Just as when you enabled HiDPI mode in macOS, you’ll need to both enter your admin password and reboot your Mac for the change to take effect.

Third-Party Applications

If you’d rather not play around with Terminal commands, there are third-party apps and utilities that can enable HiDPI mode for you, in addition to other display-related functionality.

Here are some examples of third-party software that can enable HiDPI on macOS:

  • ResolutionTab ($1.99, Mac App Store) ResolutionTab is a “menu bar app for fast switching between Standard & HiDPI display modes.”
  • SwitchResX ($15, shareware). SwitchResX, in particular, offers tons of additional functionality for setting up custom resolutions and refresh rates, but both of these apps can get you in and out of HiDPI mode with just a click.

HiDPI mode certainly isn’t a replacement for a true high-resolution Retina display, but it serves a useful role for those who occasionally need macOS/OS X to look sharper, such as when taking high-quality screenshots, or for users who want a larger and easier to read interface without the blurriness of a standard lower resolution.

If you found this article useful, you might want to check out other TechJunkie Mac articles, including How to Use Only a Dark Menu Bar and Dock in macOS Mojave and How to Edit the Hosts File on macOS (Mac OS X).

Do you have any tips or tricks for turning on HiDPI mode on your Mac? Do you know of any good third party applications other than the two listed above? If so, please tell us about it in the comments below!

Источник

Включить hidpi mac os catalina

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!

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

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

This will download enable-HiDPI.sh and restore.sh to your home directory (

Читайте также:  Promt professional для windows 10

) and the next step is to change the permissions of the file (add +x) so that it can be run.

Run the script in a terminal window by:

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

Go to single mode in macOS, enter the following

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

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

  • Implemented restore script in case incorrect settings stall the system
  • Fixed the issue #16 and issue #32 by removing the redundant prefix
  • More lightweight program by removing plistbuddy
  • Cleanup redudant code
  • Fixed HiDPI inject issue on 10.12+
  • Fixed Artoria2e5’s typo credit @jqqqqqqqqqq
  • Fixed variable errors/typo, fully support for 4K display credit @Artoria2e5.
  • Optimised message display, more precise and easier to read credit @transtone.
  • Fixed major bug.
  • Optimised code.
  • Fixed logical issue that causes backup failure.
  • Optimised code.
  • Added multi monitors/displays support credit @liusunpan see issue #4.
  • Optimised code.
  • Fixed a logical problem that casue the enable failure. Tested sucessfully on my HP 2009f @1600×900(now it can be switched to 1366×768, 1440×810.)

You can use the enable-HiDPI.sh directly to fully enable HiDPI on your OS X.

Note: This is the first version of enable-HiDPI, I just tested it on 10.11.3, more function will be added late. If you find bugs please let me know through the «Issuses» tab.

Источник

Включить hidpi mac os catalina

Для начала откроем терминал: Cmd+Space набираем в поиске Spotlight «terminal» или «терминал» видим в найденном и запускаем его.

* Помним программа «Терминал» не отображает пароль во время ввода. В случае ввода неправильного или пустого пароля команда не выполняется, и программа «Терминал» предлагает повторить попытку.

Разрешить использование программ, загруженных из: любого источника

  • В терминале наберите: sudo spctl —master-disable далее Enter
  • Вводим пароль и снова Enter
  • Готово

Включаем поддержку TRIM для SSD накопителей сторонних производителей

  • В терминале наберите: sudo trimforce enable далее Enter
  • Вводим пароль и снова Enter
  • Видим вопрос: Are you sure you wish to proceed (y/N)? вводим y и Enter
  • Видим вопрос: Is this OK (y/N)? вводим y и Enter
  • Процесс запустится и напишет что Mac перезагрузиться
  • После перезагрузки TRIM будет включён на всех найденных SSD

Как включить HiDPI режим в MacOS 10.x.x

  • В терминале наберите: sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true далее Enter
  • Вводим пароль и снова Enter
  • Перезагрузите Mac
  • Готово

* для использования расширенных возможностей установите утилиту SwitchResX.

  • Отключаем так: sudo defaults delete /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled далее Enter
  • Вводим пароль и снова Enter
  • Перезагрузите Mac
  • Готово

Отключаем задвоение программ в контекстном меню «Открыть с помощью»(при правом клике мышью)

  • В терминале наберите: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder далее Enter

* актуально скорее для старых Mac OS.

Создаём пользователя и удаляем старого

Это полезно, если продаёте свой Mac, все программы останутся и будут работать.
Чистая система с установленным софтом! Просто настраиваем всё заново.

  • В терминале наберите: sudo rm /var/db/.AppleSetupDone далее Enter
  • Вводим пароль и снова Enter
  • Удаляем пользователя: sudo dscl . -delete /Users/username_строчными_буквами далее Enter
  • Вводим пароль и снова Enter
  • Кликаем в Яблоко, выбираем меню Перезагрузить.
  • После перезагрузки увидим, что запустился Setup Assistant, как при первом запуске после установки системы.
  • Проходим все этапы создания Нового пользователя.
  • Если всё прошло как надо, удаляем (если остался) Каталог старого пользователя обычным способом через Корзину и её зачистку.
Читайте также:  Windows 10 зачем нужна папка windows old

* Посмотреть имена пользователей можно командой dscl . -list /Users или вывести имя активного whoami . После удаления активного в данный момент пользователя программы перестанут стартовать и откликаться — возможна только перезагрузка.

Включаем AirDrop для старых компьютеров Mac

AirDrop — полезная функция, она позволяет быстро и легко отправлять файлы между устройствами Apple через Wi-Fi без использования приложений.
Если ваш Mac не поддерживает AirDrop, вы всё-таки можете включить его, чтобы работать в сети Ethernet.

  • В терминале наберите: defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool TRUE далее Enter
  • Перезапускаем Finder: killall Finder далее Enter

* И конечно же отключить AirDrop можно командой defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool FALSE , не забываем опять же перезапустить Finder killall Finder , чтобы изменения вступили в силу.

Ускоряем Dock

Многие пользователи используют опцию «Автоматически показывать или скрывать Dock», наводя мышь на ту часть экрана в которой Dock размещён. По умолчанию Dock появляется с задержкой в 0,7 секунды. Это медленно? Тогда давайте изменим это.

  • В терминале наберите: defaults write com.apple.dock autohide-time-modifier -float 0.5 && killall Dock далее Enter

* 0.5 это и есть время задержки в пол-секунды, если поставить 0 то и задержки не будет вовсе.

Скриншот окна без тени

Скриншоты окон в macOS по умолчанию делаются с красивой тенью вокруг них. Размещение таких скриншотов в статьях с белым фоном выглядит привлекательно. Но иногда они могут быть лишними, например для обычной пересылки.

  • В терминале наберите: defaults write com.apple.screencapture disable-shadow -bool TRUE && killall SystemUIServer далее Enter

* Включение тени делается так defaults write com.apple.screencapture disable-shadow -bool FALSE && killall SystemUIServer далее Enter .
Если приглядеться к командам, имеющим в строке вхождение bool, то становиться ясно что меняется TRUE и FALSE.

Лечение сертификата (цифровой подписи) приложений исключённых Apple

В ночь с 10 на 11 июля 2019 года компания Apple выпустила внеочередной патч безопасности для macOS, который был автоматически установлен на устройства всех пользователей вне зависимости от их желания.

В патче безопасности был удален сертификат TNT (и других таких как The Shark), из-за чего пользователи столкнулись с сообщением об ошибке при запуске некоторых приложений.

* Данная процедура требует установленного Xcode, устанавливаем командой в терминале: xcode-select —install далее Enter .

  • В терминале наберите: sudo codesign —force —deep —sign — далее Enter (обратите внимание, что последним символом в команде является пробел.)
  • Далее перетащите значок нужного приложения в окно Терминал и нажмите клавишу Enter

* Приложение должно находиться на компьютере Mac (в папке «Программы» или на Рабочем столе). Не перетаскивайте приложение из образа. Это бесполезно.

Отключаем SWAP в Mac OS X

А надо ли отключать SWAP. Это спорный вопрос, и я не знаю надо ли это Вам, но у меня 96 Гб оперативной памяти и я бы не хотел думать даже секунду, что вдруг мой SSD, при таком объёме физической памяти, ещё и будет пилиться каким-то SWAP файлом.

Не уверены? Тогда сделайте Бекап операционной системы, перед тем как подавать команды, которые Вы видите ниже.

  • Чтобы выключить файл подкачки (SWAP), в терминале наберите: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist далее Enter
  • Вводим пароль и снова Enter
  • Мы отключили SWAP, но файл остался в системе, удалим его командой: sudo rm -f /private/var/vm/swapfile* далее Enter
  • Перезагрузимся: sudo reboot Enter

* Включить SWAP можно командой: sudo launchctl load -wF /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist и конечно Enter далее пароль Enter

* Обратите внимание, что в дирктории /private/var/vm/ находиться и файл сна sleepimage и как правило его размер равен размеру оперативной памяти, в моём случае это 96 Гб, не удивительно что те кто пользуются Сном на Mac изнашивают быстрее SSD диск.

Источник

Оцените статью