summaryrefslogtreecommitdiff
path: root/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-11-30 11:41:06 +0000
committerRod Whitby <rod@whitby.id.au>2007-11-30 11:41:06 +0000
commit762e232f884a306456ff24b65061ba2c87728413 (patch)
tree41eb5cc03456a89e9b2310fc5d0f5e530743ec79 /packages/zaurusd/files/zaurus-hinge.matchbox-landscape
parent6b1fd5f198553ce441cfe7bb8b94eff1226874b6 (diff)
parent39565118303f565d78a6b5429eafdbad99ee6351 (diff)
merge of '0a81de11f045dd65f6ea4c630250337cc8f718b2'
and '0dbb48946ab15c0ee9c232d1a1fc31e5b65037cd'
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