Skip to content

Instantly share code, notes, and snippets.

@nmandery
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmandery/7c7bf95bf4f328a3eb72 to your computer and use it in GitHub Desktop.
Save nmandery/7c7bf95bf4f328a3eb72 to your computer and use it in GitHub Desktop.
thinkpad_t420_samsung_syncmaster_205bw_modes.sh
# from https://wiki.archlinux.org/index.php/xrandr
# create modeline output based on the monitors resolution
cvt 1680 1050
# use that modeline for creating a new resolution
# also remove all non-resolution charaters from the mode
# name - otherwise arandr will crash
xrandr --newmode "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
# associate the mode with the VGA1 output
xrandr --addmode VGA1 1680x1050
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment