diff options
Diffstat (limited to 'recipes/openmoko-base/openmoko-session/session')
-rw-r--r-- | recipes/openmoko-base/openmoko-session/session | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/openmoko-base/openmoko-session/session b/recipes/openmoko-base/openmoko-session/session new file mode 100644 index 0000000000..c7a773efcb --- /dev/null +++ b/recipes/openmoko-base/openmoko-session/session @@ -0,0 +1,24 @@ +#!/bin/sh + +export GTK_MODULES="libgtkstylus.so libgtkinput.so" +SHOWCURSOR="no" + +matchbox-panel-2 \ + --start-applets=openmoko-panel-mainmenu,systray,startup \ + --end-applets=openmoko-panel-battery,openmoko-panel-gsm,openmoko-panel-gps,openmoko-panel-usb,openmoko-panel-bt,openmoko-panel-clock & + +# start old-style panel plugin to get a keyboard +mbinputmgr & + +# set default alsa configuration +alsactl restore 0 -f /etc/alsa/stereoout.state + +# start UI and dialer +openmoko-footer & +openmoko-today --desktop & +openmoko-dialer & + +sleep 1 + +exec matchbox-window-manager -use_titlebar no -use_cursor $SHOWCURSOR $@ + |