summaryrefslogtreecommitdiff
path: root/packages/openmoko-base/openmoko-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
parentc135979b41af99c0ab5c76e26a9652d5e8ed6858 (diff)
openmoko-base: merge w/ openmoko svn overlay
Diffstat (limited to 'packages/openmoko-base/openmoko-session')
-rw-r--r--packages/openmoko-base/openmoko-session/.mtn2git_empty0
-rw-r--r--packages/openmoko-base/openmoko-session/session24
2 files changed, 24 insertions, 0 deletions
diff --git a/packages/openmoko-base/openmoko-session/.mtn2git_empty b/packages/openmoko-base/openmoko-session/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openmoko-base/openmoko-session/.mtn2git_empty
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 $@
+