Skip to content

Instantly share code, notes, and snippets.

@japodhidev
Created February 16, 2019 16:16
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 japodhidev/6952b0579888203a710ca5813f88f26f to your computer and use it in GitHub Desktop.
Save japodhidev/6952b0579888203a710ca5813f88f26f to your computer and use it in GitHub Desktop.
bash script to setup correct resolution using xrandr
xrandr
cvt 1280 1024
xrandr --newmode Modeline
xrandr --addmode DVI-0 1280x1024_60.00
xrandr --output DVI-0 --mode 1280x1024_60.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment