summaryrefslogtreecommitdiff
path: root/packages/openmoko-base/openmoko-session/session
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-07-06 12:14:34 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-07-06 12:14:34 +0000
commitbf271f2bb42d5477b3cc0d8d0f93be45bb989ba8 (patch)
tree2a19fc7f30db88e07aa815e6cdb0d3415fb0e1e0 /packages/openmoko-base/openmoko-session/session
parent94cc5bbfecb6390e8b342ce89a532e05ed40e69f (diff)
parentb55eebbd8cb2e9a1c739f8fa8b220e437a3665e6 (diff)
merge of '7e6adf2eba691057299d67aeff9562e39132c566'
and '87a802e7da1ecadc7269191d43d5c0434062ef8d'
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 $@
+