From a5649958527abdd22c8eaa673e1cd10612452240 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 25 May 2011 10:26:45 +0200 Subject: [PATCH] xrandr scripts Signed-off-by: Nico Schottelius --- x-autostart | 14 ++++++++++++++ x-gedreht | 4 ++++ x-normal | 2 ++ x-off | 4 ++++ x-vga | 3 +++ 5 files changed, 27 insertions(+) create mode 100755 x-autostart create mode 100755 x-gedreht create mode 100755 x-normal create mode 100755 x-off create mode 100755 x-vga diff --git a/x-autostart b/x-autostart new file mode 100755 index 0000000..2c3dddb --- /dev/null +++ b/x-autostart @@ -0,0 +1,14 @@ +#!/bin/sh + +# start 4 mutt clients +tmutt +tmutt + +# start tee window +x-terminal-emulator -name tee -e ressh.sh tee.schottelius.org + +# start root window +x-terminal-emulator -name sudo -e sudo -i + +# retrieve mails +x-terminal-emulator -name fetchmail -e hole_mails 30 diff --git a/x-gedreht b/x-gedreht new file mode 100755 index 0000000..5ffda5f --- /dev/null +++ b/x-gedreht @@ -0,0 +1,4 @@ +#!/bin/sh +# xrandr --output HDMI2 --auto --above LVDS1 +xrandr --output VGA1 --off +xrandr --output HDMI1 --auto --left-of LVDS1 --rotate left diff --git a/x-normal b/x-normal new file mode 100755 index 0000000..2428df3 --- /dev/null +++ b/x-normal @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output HDMI1 --auto --rotate normal --left-of LVDS1 diff --git a/x-off b/x-off new file mode 100755 index 0000000..4e0b4cd --- /dev/null +++ b/x-off @@ -0,0 +1,4 @@ +#!/bin/sh +xrandr --output HDMI2 --off +xrandr --output HDMI1 --off +xrandr --output VGA1 --off diff --git a/x-vga b/x-vga new file mode 100755 index 0000000..3ad3682 --- /dev/null +++ b/x-vga @@ -0,0 +1,3 @@ +#!/bin/sh +xrandr --output HDMI1 --off +xrandr --output VGA1 --auto --above LVDS1