summaryrefslogtreecommitdiff
path: root/packages/openmoko2/openmoko-session2
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-07-30 11:35:50 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-07-30 11:35:50 +0000
commit4938d7867938089068b74cfb3306a43f302e835b (patch)
tree6578c2acc066317f9ab645aed8080caceec12063 /packages/openmoko2/openmoko-session2
parentcf9c9cea3eb814c58c16d66e74e31ef91dce46f0 (diff)
first batch of OpenMoko2007.2 stuff
Diffstat (limited to 'packages/openmoko2/openmoko-session2')
-rw-r--r--packages/openmoko2/openmoko-session2/.mtn2git_empty0
-rw-r--r--packages/openmoko2/openmoko-session2/etc/.mtn2git_empty0
-rw-r--r--packages/openmoko2/openmoko-session2/etc/matchbox/.mtn2git_empty0
-rwxr-xr-xpackages/openmoko2/openmoko-session2/etc/matchbox/session11
-rw-r--r--packages/openmoko2/openmoko-session2/matchbox-session24
5 files changed, 35 insertions, 0 deletions
diff --git a/packages/openmoko2/openmoko-session2/.mtn2git_empty b/packages/openmoko2/openmoko-session2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openmoko2/openmoko-session2/.mtn2git_empty
diff --git a/packages/openmoko2/openmoko-session2/etc/.mtn2git_empty b/packages/openmoko2/openmoko-session2/etc/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openmoko2/openmoko-session2/etc/.mtn2git_empty
diff --git a/packages/openmoko2/openmoko-session2/etc/matchbox/.mtn2git_empty b/packages/openmoko2/openmoko-session2/etc/matchbox/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openmoko2/openmoko-session2/etc/matchbox/.mtn2git_empty
diff --git a/packages/openmoko2/openmoko-session2/etc/matchbox/session b/packages/openmoko2/openmoko-session2/etc/matchbox/session
new file mode 100755
index 0000000000..787d9c72ba
--- /dev/null
+++ b/packages/openmoko2/openmoko-session2/etc/matchbox/session
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+SHOWCURSOR="no"
+
+openmoko-today &
+openmoko-dialer &
+
+matchbox-window-manager -use_titlebar yes -use_desktop_mode decorated -theme openmoko-standard-2 -use_cursor $SHOWCURSOR $@ &
+
+exec matchbox-panel --start-applets showdesktop --end-applets clock,battery,systray,startup --titlebar
+
diff --git a/packages/openmoko2/openmoko-session2/matchbox-session b/packages/openmoko2/openmoko-session2/matchbox-session
new file mode 100644
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 $@