Skip to content

Instantly share code, notes, and snippets.

@uilianries
Created March 23, 2018 19:55
Show Gist options
  • Save uilianries/881f50f6d63325efbabd15ee0a09d817 to your computer and use it in GitHub Desktop.
Save uilianries/881f50f6d63325efbabd15ee0a09d817 to your computer and use it in GitHub Desktop.
Configure my third display on Linux
#!/bin/bash
echo "Set VGA display to 1920 x 1080"
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode DP-1-1 "1920x1080_60.00"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment