diff options
-rw-r--r-- | gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh | 12 | ||||
-rw-r--r-- | gpe-session-scripts/gpe-session-scripts_0.61.oe | 6 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh b/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh index e69de29bb2..945d2f04bd 100644 --- a/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh +++ b/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ -z "`which chkhinge`" ]; then + # probably not a zaurus + exit 0 +fi + +chkhinge -e +if [ $? = 10 ]; then + xrandr -o right +fi + diff --git a/gpe-session-scripts/gpe-session-scripts_0.61.oe b/gpe-session-scripts/gpe-session-scripts_0.61.oe index 4f0f5aae22..922a6e714f 100644 --- a/gpe-session-scripts/gpe-session-scripts_0.61.oe +++ b/gpe-session-scripts/gpe-session-scripts_0.61.oe @@ -1,4 +1,4 @@ -PR = "r2" +PR = "r4" inherit gpe @@ -15,5 +15,9 @@ SRC_URI = "http://gpe.handhelds.org/pub/projects/gpe/source/gpe-session-scripts- do_install_append() { install ${WORKDIR}/zaurus.sh ${D}/etc/X11/Xinit.d/11zaurus + install -d ${D}/etc/gpe/xsettings-default.d + if [ "${GPE_MACHINE_CLASS}" != "bigscreen" ]; then + echo "Gtk/ToolbarStyle:S:icons" > ${D}/etc/gpe/xsettings-default.d/toolbar + fi } |