Skip to content

Instantly share code, notes, and snippets.

@sunnysideup
Last active August 19, 2019 23:49
Show Gist options
  • Save sunnysideup/2b153d59fe1f6d4070d01a212694eca3 to your computer and use it in GitHub Desktop.
Save sunnysideup/2b153d59fe1f6d4070d01a212694eca3 to your computer and use it in GitHub Desktop.
#!/bin/bash
# source: https://askubuntu.com/questions/1075157/unable-to-set-my-screen-resolution-higher
xrandr
cvt 1920 1080
sudo xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
sudo xrandr --addmode VGA-1 "1920x1080_60.00"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment