Skip to content

Instantly share code, notes, and snippets.

@KaduNovoK
Created June 25, 2014 10:45
Show Gist options
  • Save KaduNovoK/2fc6f0381fb177574a22 to your computer and use it in GitHub Desktop.
Save KaduNovoK/2fc6f0381fb177574a22 to your computer and use it in GitHub Desktop.
Set my second screen resolution
#!/bin/bash
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA1 "1920x1080_60.00"
xrandr --output VGA1 --mode "1920x1080_60.00"
@KaduNovoK
Copy link
Author

Use "$ cvt 1920 1080" to create the resolution parameters used in first line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment