Blog/2024-02-23/Setting MacOS Screen Resolutions: Difference between revisions
No edit summary |
fix command lines for secondar display |
||
Line 22: | Line 22: | ||
Setting both display modes | Setting both display modes | ||
<syntaxhighlight> | <syntaxhighlight> | ||
screenresolution set 1440x900x32@60 | screenresolution set 1440x900x32@60 3440x1440x32@100 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Setting second display mode only | Setting second display mode only | ||
<syntaxhighlight> | <syntaxhighlight> | ||
screenresolution set 1440x900x32@60 | screenresolution set 1440x900x32@60 3440x1440x32@100 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Blog]] | [[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!
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