summaryrefslogtreecommitdiff
path: root/packages/gpephone/gpe-session-scripts-phone
diff options
context:
space:
mode:
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