Skip to content

Instantly share code, notes, and snippets.

@dchapkine
Created April 23, 2016 21:12
Show Gist options
  • Save dchapkine/10a3fc38f0054fc6745299aee6452003 to your computer and use it in GitHub Desktop.
Save dchapkine/10a3fc38f0054fc6745299aee6452003 to your computer and use it in GitHub Desktop.
ubuntu resolution snippets
# list displays and possible resolutions of active displays
xrandr
# set display port 1 to 3440x1440@29hz
xrandr --output DP1 --mode 3440x1440 --rate 29
# set display port 1 to 2560x1080@59hz
xrandr --output DP1 --mode 2560x1080 --rate 59
# note: if you only change the refresh rate, new settings might not apply, so make sure to pass a --mode param taht is different from current resolution to make a change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment