summaryrefslogtreecommitdiff
path: root/packages/gpephone/gpe-session-scripts-phone
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-07-11 10:56:56 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-07-11 10:56:56 +0000
commita183cc63ec0a7ef120d7d25f01ca0278d54802a0 (patch)
treede2f6164cd482ab7e102aac5b89619aad1b4e580 /packages/gpephone/gpe-session-scripts-phone
parent813777bcdcaa476af10e64eaadc1b5abd0f66dcd (diff)
gpe-session-scripts-phone: Update session script to support gtk 2.10 and run machined.
Diffstat (limited to 'packages/gpephone/gpe-session-scripts-phone')
-rwxr-xr-xpackages/gpephone/gpe-session-scripts-phone/phonesession10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/gpephone/gpe-session-scripts-phone/phonesession b/packages/gpephone/gpe-session-scripts-phone/phonesession
index 6f6d9d59ae..2dacc4c4c9 100755
--- a/packages/gpephone/gpe-session-scripts-phone/phonesession
+++ b/packages/gpephone/gpe-session-scripts-phone/phonesession
@@ -31,7 +31,12 @@ export TINYMAIL_CACHE_DIR=$APP_PATH/share/tinymail.cache
export CAL_RES_PATH=$APP_PATH/share/res
# For GTK input engine
-export PTIM_PATH=/usr/lib/gtk-2.0/2.4.0/immodules/ptim
+if [ -d /usr/lib/gtk-2.0/2.10.0 ]; then
+ export PTIM_PATH=/usr/lib/gtk-2.0/2.10.0/immodules/ptim
+else
+ export PTIM_PATH=/usr/lib/gtk-2.0/2.4.0/immodules/ptim
+fi
+
export PTIM_PIXMAPS_PATH=$PTIM_PATH/pixmaps
export PTIM_CONFIG_FILE=$PTIM_PATH/imconfig
export PTIM_HELPER_PATH=$PTIM_PATH/helper
@@ -43,6 +48,9 @@ gpe-phonepanel&
gpe-applauncher&
matchbox-window-manager -use_titlebar no&
+# start device support daemon
+machined
+
# Start E-Sound Server
esd -nobeeps -as 2&
esdplay /mnt/sd/sounds/startup.wav