Skip to content

Instantly share code, notes, and snippets.

@judas-christ
Last active October 3, 2024 20:34
Show Gist options
  • Save judas-christ/f4291666bb5395f20379bf0c11ae1258 to your computer and use it in GitHub Desktop.
Save judas-christ/f4291666bb5395f20379bf0c11ae1258 to your computer and use it in GitHub Desktop.
How to change refresh rate on an external display on macOS
# install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install cscreen
brew cask install cscreen
# list displays
cscreen -l
# find your external screen in the list and write the number (not the ID) down somewhere
# in the following instructions, use that number instead of <SCREEN>
# list display modes for your external screen
cscreen -s <SCREEN> -v
# find a display mode you like and run
cscreen -s <SCREEN> -x <WIDTH> -y <HEIGHT> -r <REFRESH_RATE>
# enjoy!
@xriu
Copy link

xriu commented Jun 1, 2019

good gist, but you need to fix -x WIDTH -y HEIGHT

@aldajulian
Copy link

aldajulian commented Mar 17, 2021

install cscreen
brew install --cask cscreen

@tornikegomareli
Copy link

Thanks, for that, it really helped me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment