Blog/2024-02-23/Setting MacOS Screen Resolutions: Difference between revisions

From Rest of What I Know
Created page with "If you use a Mac, you know that most of the time it hides lots of stuff from you. One of the annoying things to me is that it doesn't let you select the screen resolution often. In my case, this is partly my fault since I have my 3440x1440 monitor hooked up to a USB dock so that I can use my Macbook Pro 13" at home (yes, the one with the touchbar!) Anyway, there's a GUI app called [https://www.madrau.com/ SwitchResX] that gives you a visual way to do this, but it costs..."
 
fix command lines for secondar display
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
Setting both display modes
Setting both display modes
<syntaxhighlight>
<syntaxhighlight>
screenresolution set 1440x900x32@60 3440x1440x32x100
screenresolution set 1440x900x32@60 3440x1440x32@100
</syntaxhighlight>
</syntaxhighlight>


Setting second display mode only
Setting second display mode only
<syntaxhighlight>
<syntaxhighlight>
screenresolution set 1440x900x32@60 3440x1440x32x100
screenresolution set 1440x900x32@60 3440x1440x32@100
</syntaxhighlight>
</syntaxhighlight>
[[Category:Blog]]

Latest revision as of 14:54, 13 May 2024

If you use a Mac, you know that most of the time it hides lots of stuff from you. One of the annoying things to me is that it doesn't let you select the screen resolution often. In my case, this is partly my fault since I have my 3440x1440 monitor hooked up to a USB dock so that I can use my Macbook Pro 13" at home (yes, the one with the touchbar!)

Anyway, there's a GUI app called SwitchResX that gives you a visual way to do this, but it costs $16. The free screenresolution CLI app costs $0, like most free things, but has quite an arcane CLI.

But most important of all, it works!

A screenshot of my big monitor at native resolution showing screenresolution on a terminal
This is a JPEG. The PNG is 7.2 MiB


The commands to remember are

Getting the current resolutions

screenresolution get

Setting primary display mode (horizontal x vertical x bit depth x frequency)

screenresolution set 1440x900x32@60

Setting both display modes

screenresolution set 1440x900x32@60 3440x1440x32@100

Setting second display mode only

screenresolution set 1440x900x32@60 3440x1440x32@100