Skip to content

Instantly share code, notes, and snippets.

@orbitcowboy
Created November 24, 2018 11:02
Show Gist options
  • Save orbitcowboy/ee131c087bc8b8763f9d921f40e54965 to your computer and use it in GitHub Desktop.
Save orbitcowboy/ee131c087bc8b8763f9d921f40e54965 to your computer and use it in GitHub Desktop.
A script to set the screen resolution
#!/bin/bash
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088
1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080_60.00
xrandr --output Virtual1 --mode 1920x1080_60.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment