summaryrefslogtreecommitdiff
path: root/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2007-11-29 21:52:01 +0000
committerMatthias Hentges <oe@hentges.net>2007-11-29 21:52:01 +0000
commitae7eb4076905d0b10613ba756acc9924e3d4fbaf (patch)
treed696d2ffa10fdc1f78c2639a4f3747b3b8f4bc12 /packages/zaurusd/files/zaurus-hinge.matchbox-landscape
parent67a1d946c02b02f76e70e792d4cfb1b0c5ada84e (diff)
parent281e31e88a5958f8d22ade40fd7f1713a470f7c3 (diff)
merge of '19bacabe62a70bf0818d663c4cd3bc168e5cf49e'
and '332e97250454514e2c07aea9f1695ab21166d191'
Diffstat (limited to 'packages/zaurusd/files/zaurus-hinge.matchbox-landscape')
-rw-r--r--packages/zaurusd/files/zaurus-hinge.matchbox-landscape6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/zaurusd/files/zaurus-hinge.matchbox-landscape b/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
index e7b92b5140..a048769f7d 100644
--- a/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
+++ b/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
@@ -16,6 +16,10 @@
# urg mbinputmgr should kill below
killproc ${ZD_BINDIR}/matchbox-keyboard
killproc ${ZD_BINDIR}/matchbox-stroke
+
if [ -x ${ZD_BINDIR}/xrandr ]; then
- xrandr -o normal
+ if ! ( xrandr | awk '{print $4}' | grep -q normal )
+ then
+ ${ZD_BINDIR}/xrandr -o normal
+ fi
fi