summaryrefslogtreecommitdiff
path: root/packages/openmoko2/openmoko-session2/matchbox-session
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-11 09:42:16 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-11 09:42:16 +0000
commit7bcf4828673040af5022534981de6416f5884cff (patch)
tree18ab00a9b6f1ce29fa7b613662e256785fb59781 /packages/openmoko2/openmoko-session2/matchbox-session
parent84b2b31930881004a73267cf24fe6fe701e0f8a8 (diff)
parent78c32ad25a3883dc7a127a36673890225f9f54f2 (diff)
propagate from branch 'org.openembedded.dev' (head acccc4840b95c279164a3eeacf893200164bdc65)
to branch 'org.openembedded.dev.avr32' (head 4a915ee0a28076c53049330f3f2e58c7b85ef7a8)
Diffstat (limited to 'packages/openmoko2/openmoko-session2/matchbox-session')
-rwxr-xr-xpackages/openmoko2/openmoko-session2/matchbox-session24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/openmoko2/openmoko-session2/matchbox-session b/packages/openmoko2/openmoko-session2/matchbox-session
new file mode 100755
index 0000000000..65f1ce72ca
--- /dev/null
+++ b/packages/openmoko2/openmoko-session2/matchbox-session
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# Very simple session manager for matchbox tools
+#
+
+# Uncomment below to enable parsing of debian menu entrys
+# export MB_USE_DEB_MENUS=1
+
+if [ -e $HOME/.matchbox/session ]
+then
+exec $HOME/.matchbox/session
+fi
+
+if [ -e /etc/matchbox/session ]
+then
+exec /etc/matchbox/session
+fi
+
+# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
+# dont exist.
+
+matchbox-desktop &
+matchbox-panel --orientation south &
+exec matchbox-window-manager $@