From b2f192faabe412adce79534e22efe9fb69ee40e2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 21 Jul 2006 10:10:31 +0000 Subject: Rename /openembedded/ -> /meta/ git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 meta/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh (limited to 'meta/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh') diff --git a/meta/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh b/meta/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh new file mode 100755 index 0000000000..d17c805ffc --- /dev/null +++ b/meta/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh @@ -0,0 +1,9 @@ +#!/bin/sh +if [ -n "$(xrandr | grep rotation | grep left)" ] +then +xrandr -o normal +xmodmap /etc/X11/xmodmap-portrait +else +xrandr -o left +xmodmap /etc/X11/xmodmap-left +fi -- cgit v1.2.3-54-g00ecf