summaryrefslogtreecommitdiff
path: root/meta-openmoko/packages/openmoko2/openmoko-session2
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-14 12:34:51 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-14 12:34:51 +0000
commitda5f93acafbdd3d74488945db29782f757d35d49 (patch)
tree2add49a5f28d35914f37e315e9c6de477a5c8f75 /meta-openmoko/packages/openmoko2/openmoko-session2
parentfd817142ba52cd0b15d5836112ead2fb00b7f4c4 (diff)
downloadopenembedded-core-da5f93acafbdd3d74488945db29782f757d35d49.tar.gz
openembedded-core-da5f93acafbdd3d74488945db29782f757d35d49.tar.bz2
openembedded-core-da5f93acafbdd3d74488945db29782f757d35d49.tar.xz
openembedded-core-da5f93acafbdd3d74488945db29782f757d35d49.zip
Add meta-openmoko
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2492 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-session2')
-rwxr-xr-xmeta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session11
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session24
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session b/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session
new file mode 100755
index 000000000..787d9c72b
--- /dev/null
+++ b/meta-openmoko/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/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session b/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session
new file mode 100644
index 000000000..65f1ce72c
--- /dev/null
+++ b/meta-openmoko/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 $@