diff options
Diffstat (limited to 'recipes/obsolete/gpephone/gpe-session-scripts-phone')
5 files changed, 117 insertions, 0 deletions
diff --git a/recipes/obsolete/gpephone/gpe-session-scripts-phone/disable-composite.xsettings b/recipes/obsolete/gpephone/gpe-session-scripts-phone/disable-composite.xsettings new file mode 100644 index 0000000000..a8ad54cf8d --- /dev/null +++ b/recipes/obsolete/gpephone/gpe-session-scripts-phone/disable-composite.xsettings @@ -0,0 +1 @@ +MATCHBOX/COMPOSITE:S:off diff --git a/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session b/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session new file mode 100644 index 0000000000..bc8166e70e --- /dev/null +++ b/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session @@ -0,0 +1,7 @@ +#!/bin/sh + +# host session applications +#. /etc/X11/Xsession +if [ -x /etc/X11/phonesession ]; then + . /etc/X11/phonesession +fi diff --git a/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session.vm b/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session.vm new file mode 100644 index 0000000000..24f80078f9 --- /dev/null +++ b/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session.vm @@ -0,0 +1,15 @@ +#!/bin/sh + +# host session applications +xoo -xd :1 -xn /usr/bin/Xephyr --device gpephone --title GPEPhone & + +# start nested session + +export DISPLAY=:1 +#. /etc/X11/Xsession +if [ -x /etc/X11/phonesession ]; then + . /etc/X11/phonesession +fi + + +DISPLAY=:0 exec matchbox-window-manager -use_titlebar yes $@ diff --git a/recipes/obsolete/gpephone/gpe-session-scripts-phone/phonesession b/recipes/obsolete/gpephone/gpe-session-scripts-phone/phonesession new file mode 100755 index 0000000000..524199ee16 --- /dev/null +++ b/recipes/obsolete/gpephone/gpe-session-scripts-phone/phonesession @@ -0,0 +1,71 @@ +#!/bin/sh +export V_ROOT=/ +export APP_PATH=/usr + +# For GEM enivronment +export GEM_PATH=/usr + +# For Volume Configuration +export VOLCOF_RES_PATH=/usr/share/volconf + +# For Voc History +export VOC_DATA_PATH=$V_ROOT/usr/share/vochistory + +# For AddressBook +export PIM_DATA_PATH=$APP_PATH/share +export ABOOK_DATA_PATH=$APP_PATH/share + +# For Voicecall +export VOC_IMAGE_PATH=$APP_PATH/share/pixmaps + +# For SMS +export SMS_CONF_PATH=$APP_PATH/share/conf +export SMS_GRAPHIC_PATH=$APP_PATH/share/graphic +export SMS_RING_TONE_PATH=$APP_PATH/share/chocolate.mp3 + +# For E-mail +export TINYMAIL_CACHE_DIR=$APP_PATH/share/tinymail.cache + +# For Calendar +export CAL_RES_PATH=$APP_PATH/share/res + +# For GTK input engine +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 +export PTIM_ENGINE_PATH=$PTIM_PATH/engine +export GTK_IM_MODULE=ptim + +# Start GPE Phone Edition apps through matchbox session +gpe-phonepanel& +gpe-applauncher& +matchbox-window-manager -use_titlebar no& + + +# Start E-Sound Server +esd -nobeeps -as 2& +esdplay /mnt/sd/sounds/startup.wav + +# Start SoundServer +soundserver & +alsactl restore -f /etc/gsmhandset.state + +# Run GSM support stuff + +#cms92init & +gsmMux -d -p /dev/ttyS0 -m cms92 -f 128 -b 115200 -c /dev/ptmx /dev/ptmx & + +#save session bus address to a file +echo $DBUS_SESSION_BUS_ADDRESS > /tmp/dbusaddress + +# Start PhoneServer +phoneserver& + +# start device support daemon +exec machined -n diff --git a/recipes/obsolete/gpephone/gpe-session-scripts-phone/standard-apps.patch b/recipes/obsolete/gpephone/gpe-session-scripts-phone/standard-apps.patch new file mode 100644 index 0000000000..3be47c03b2 --- /dev/null +++ b/recipes/obsolete/gpephone/gpe-session-scripts-phone/standard-apps.patch @@ -0,0 +1,23 @@ +--- gpe-session-scripts/X11/Xsession.d/98standard-apps~ 2007-04-18 18:54:59.000000000 +0200 ++++ gpe-session-scripts/X11/Xsession.d/98standard-apps 2007-04-18 18:54:59.000000000 +0200 +@@ -7,20 +7,3 @@ + else + time_set_already=no + fi +- +-# No action if .mbdock exists +-if [ ! -f $HOME/.matchbox/mbdock.session ]; then +- mkdir -p $HOME/.matchbox +- cp /etc/gpe/gpe.mbdock $HOME/.matchbox/mbdock.session +- +- if [ "$time_set_already" = "no" ]; then +- gpe-conf time user_only & +- fi +- +- gpe-question --icon !gtk-dialog-info --question "<b>Welcome to GPE!</b> +- +-I have added some standard programs to the panel at the bottom of the screen. +- +-To remove these, or add more, tap and hold on an empty area of the panel." --buttons !gtk-ok & +-fi +- |