Skip to content

Instantly share code, notes, and snippets.

@tpb1908
Created November 2, 2017 12:12
Show Gist options
  • Save tpb1908/6f503a485cc4eac1356f5878a6d60921 to your computer and use it in GitHub Desktop.
Save tpb1908/6f503a485cc4eac1356f5878a6d60921 to your computer and use it in GitHub Desktop.
Script to set resolution for old VGA monitor.
#!/bin/sh
xrandr --newmode "VGAMODE" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA1 VGAMODE
xrandr --output VGA1 --mode VGAMODE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment