Skip to content

Instantly share code, notes, and snippets.

@UgRoss
Created May 21, 2020 09:09
Show Gist options
  • Save UgRoss/b10d038bef8fe2fb8180c0ccbb2d4e69 to your computer and use it in GitHub Desktop.
Save UgRoss/b10d038bef8fe2fb8180c0ccbb2d4e69 to your computer and use it in GitHub Desktop.

Revisions

  1. @judas-christ judas-christ revised this gist Mar 2, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion fix-refresh-rate.sh
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,8 @@ 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>
    # 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
  2. @judas-christ judas-christ created this gist Mar 2, 2017.
    17 changes: 17 additions & 0 deletions fix-refresh-rate.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # 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 <HEIGHT> -y <WIDTH> -r <REFRESH_RATE>

    # enjoy!