diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-11-30 11:41:06 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-11-30 11:41:06 +0000 |
commit | 762e232f884a306456ff24b65061ba2c87728413 (patch) | |
tree | 41eb5cc03456a89e9b2310fc5d0f5e530743ec79 /packages/zaurusd/files/zaurus-hinge.matchbox-landscape | |
parent | 6b1fd5f198553ce441cfe7bb8b94eff1226874b6 (diff) | |
parent | 39565118303f565d78a6b5429eafdbad99ee6351 (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-landscape | 6 |
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 |