summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh11
-rw-r--r--packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb2
2 files changed, 6 insertions, 7 deletions
diff --git a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh
index d17c805ffc..fbf88d6d08 100755
--- a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh
+++ b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh
@@ -1,9 +1,8 @@
#!/bin/sh
-if [ -n "$(xrandr | grep rotation | grep left)" ]
-then
-xrandr -o normal
-xmodmap /etc/X11/xmodmap-portrait
+if [ -n "$(xrandr | grep default | grep 'left\ (')" ] ; then
+ xrandr -o normal
+ xmodmap /etc/X11/xmodmap-portrait
else
-xrandr -o left
-xmodmap /etc/X11/xmodmap-left
+ xrandr -o left
+ xmodmap /etc/X11/xmodmap-left
fi
diff --git a/packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb b/packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb
index f5c1209255..2fd7926707 100644
--- a/packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb
+++ b/packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb
@@ -5,7 +5,7 @@ PRIORITY = "optional"
DEPENDS = "matchbox xmodmap"
-PR = "r6"
+PR = "r7"
SRC_URI = "file://xrandr-panelapp.sh \
file://xrandr-panelapp.desktop \