summaryrefslogtreecommitdiff
path: root/packages/openmoko-base/openmoko-session/session
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-07-04 10:35:39 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-07-04 10:35:39 +0000
commitdbcb36d8e4e156f4ec64444077b776bcd69f2259 (patch)
tree62be86157fc983199ded32890b9d86098305f5b4 /packages/openmoko-base/openmoko-session/session
parentc135979b41af99c0ab5c76e26a9652d5e8ed6858 (diff)
openmoko-base: merge w/ openmoko svn overlay
Diffstat (limited to 'packages/openmoko-base/openmoko-session/session')
-rw-r--r--packages/openmoko-base/openmoko-session/session24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/openmoko-base/openmoko-session/session b/packages/openmoko-base/openmoko-session/session
new file mode 100644
index 0000000000..c7a773efcb
--- /dev/null
+++ b/packages/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 $@
+