Skip to content

Instantly share code, notes, and snippets.

@ehg
Last active December 17, 2015 15:39
Show Gist options
  • Save ehg/5633585 to your computer and use it in GitHub Desktop.
Save ehg/5633585 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Get mirroring working on ScraperWiki iiyama monitor.
if [ "$(whoami)" != "chris" ]; then
echo "Don't use this if you're not me!"
exit 1
fi
xrandr --newmode "1600x900_60.10" 119.20 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync
xrandr --addmode VGA1 1600x900_60.10
xrandr --output VGA1 --mode 1600x900_60.10
xrandr --output LVDS1 --mode 1600x900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment