[oe-commits] org.oe.dev matchbox-panel-hacks: patch xrandr-panel-app.sh to (hopefully) work with xrandr 1.3. should close #2685

koen commit openembedded-commits at lists.openembedded.org
Thu Aug 2 00:16:29 UTC 2007


matchbox-panel-hacks: patch xrandr-panel-app.sh to (hopefully) work with xrandr 1.3. should close #2685

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 856cd651f1bd26f6178f1b13bdfbb749a1ea2bb9
ViewMTN: http://monotone.openembedded.org/revision.psp?id=856cd651f1bd26f6178f1b13bdfbb749a1ea2bb9
Files:
1
packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh
packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb
Diffs:

#
# mt diff -re0338d02d700ee80a2e54afc642e9f0e197f8a7a -r856cd651f1bd26f6178f1b13bdfbb749a1ea2bb9
#
# 
# 
# patch "packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh"
#  from [1b5e506a4593bb877ea00f080b191c7e7c602122]
#    to [818226f99e1ab9f1679980bb8d47cfa2a32c6898]
# 
# patch "packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb"
#  from [9f3e687bff47141358c39af378f720177cb31c3c]
#    to [5f2e7bd2ce2b24f249a0a4ea65fea5b2252adaa7]
# 
============================================================
--- packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh	1b5e506a4593bb877ea00f080b191c7e7c602122
+++ packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh	818226f99e1ab9f1679980bb8d47cfa2a32c6898
@@ -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
============================================================
--- packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb	9f3e687bff47141358c39af378f720177cb31c3c
+++ packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb	5f2e7bd2ce2b24f249a0a4ea65fea5b2252adaa7
@@ -5,7 +5,7 @@ DEPENDS = "matchbox xmodmap"
 
 DEPENDS = "matchbox xmodmap"
 
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "file://xrandr-panelapp.sh \
 	   file://xrandr-panelapp.desktop \






More information about the Openembedded-commits mailing list