summaryrefslogtreecommitdiff
path: root/packages/openmoko2/openmoko-session2/matchbox-session
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-11-08 15:48:24 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-11-08 15:48:24 +0000
commit545609af0ceb8807bb68eb9f73b03e9c646e140d (patch)
treed34186b38c34b968825539f7671aca0d9ec7ed64 /packages/openmoko2/openmoko-session2/matchbox-session
parent51f089ebbc86fb36c2d16598b04af634ef791096 (diff)
openmoko-session2: provide own matchbox-session file, get rid of matchbox-common
(which installs vfolders we don't want, we have openmoko-today2-folders for that)
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 $@