Ubuntu Pastebin

Paste from xrandr example at Mon, 28 Sep 2015 19:59:02 +0000

Download as text
1
2
3
4
5
mode="$(/usr/bin/xrandr -q|/bin/grep -A1 "DP2 connected"| tail -1 |awk '{ print $1 }')"
if [ -n "$mode" ]; then
  /usr/bin/xrandr --output LVDS1 --off
  /usr/bin/xrandr --output DP2 --primary --mode 2560x1440
fi
Download as text