summaryrefslogtreecommitdiff
path: root/packages/openmoko-base/openmoko-session
diff options
context:
space:
mode:
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 $@
+