Skip to content

Instantly share code, notes, and snippets.

@isjerryxiao
Last active December 23, 2016 09:35
Show Gist options
  • Save isjerryxiao/73e5c424d86de4719725d17d459e7155 to your computer and use it in GitHub Desktop.
Save isjerryxiao/73e5c424d86de4719725d17d459e7155 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#xrandr
#cvt 1366 768
sudo xrandr --newmode "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
xrandr --addmode VGA1 "1368x768_60.00"
xrandr --output VGA1 --mode "1368x768_60.00" --rate 60
sudo xrandr --newmode "1368x768_50.00" 69.25 1368 1424 1560 1752 768 771 781 793 -hsync +vsync
xrandr --addmode VGA1 "1368x768_50.00"
xrandr --output VGA1 --mode "1368x768_50.00" --rate 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment