Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add dual_monitor config tools

  • Loading branch information...
commit 4063cc47cea755c252c0641bbcfdb4ced097f529 1 parent 551a143
authored March 10, 2013

Showing 1 changed file with 14 additions and 0 deletions. Show diff stats Hide diff stats

  1. 14  dual_monitor
14  dual_monitor
... ...
@@ -0,0 +1,14 @@
  1
+#!/bin/sh
  2
+if [ "$1" != "off" ]; then
  3
+  # External Screen as HDMI, Laptop below
  4
+  echo "Dual Screen on"
  5
+  xrandr --output VGA1 --off  
  6
+  xrandr --output HDMI1 --primary --mode 1920x1080
  7
+  xrandr --output LVDS1 --off
  8
+  xrandr --output LVDS1 --mode 1600x900 --right-of HDMI1
  9
+else
  10
+  # External Screen off, Laptop primary
  11
+  echo "Dual Screen off"
  12
+  xrandr --output HDMI1 --off
  13
+  xrandr --output LVDS1 --primary --mode 1600x900
  14
+fi

0 notes on commit 4063cc4

Please sign in to comment.
Something went wrong with that request. Please try again.