summaryrefslogtreecommitdiff
path: root/packages/gpephone/gpe-session-scripts-phone/phonesession
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-07-11 11:01:15 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-07-11 11:01:15 +0000
commit49778d7c8a0027c2920beba40fd42e5705db75b4 (patch)
tree20bacb907ebb80df985395445a02847310e062c2 /packages/gpephone/gpe-session-scripts-phone/phonesession
parent13e603ff2dc08db74a8ec700375dc494d0a07c24 (diff)
parent8734f29b172e780435e2c39800241ecc29eee3f7 (diff)
merge of '83d9cf101f881f4f23bd0c33560c2179b08d8874'
and 'beb1fc79f1a536fd48b5ecbd2bdfcb11369d5888'
Diffstat (limited to 'packages/gpephone/gpe-session-scripts-phone/phonesession')
-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