From a183cc63ec0a7ef120d7d25f01ca0278d54802a0 Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Wed, 11 Jul 2007 10:56:56 +0000 Subject: gpe-session-scripts-phone: Update session script to support gtk 2.10 and run machined. --- packages/gpephone/gpe-session-scripts-phone/phonesession | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'packages/gpephone/gpe-session-scripts-phone') 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 -- cgit v1.2.3