summaryrefslogtreecommitdiffstats
path: root/meta/packages/matchbox-session
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-09 10:31:51 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-09 10:31:51 +0000
commitac82765a4b5cbab72ec5b8de4e1ae9354dc389c3 (patch)
treedb01d35a6ba8f0d5dd46edcb011f9178a8f50ba0 /meta/packages/matchbox-session
parenta42d7d3f663a20c4887481636eba0c84fd032e7a (diff)
downloadpoky-ac82765a4b5cbab72ec5b8de4e1ae9354dc389c3.tar.gz
matchbox-session: basic Matchbox session start script
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4215 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-session')
-rw-r--r--meta/packages/matchbox-session/matchbox-session/matchbox-session24
-rw-r--r--meta/packages/matchbox-session/matchbox-session_0.1.bb19
2 files changed, 43 insertions, 0 deletions
diff --git a/meta/packages/matchbox-session/matchbox-session/matchbox-session b/meta/packages/matchbox-session/matchbox-session/matchbox-session
new file mode 100644
index 0000000000..4d6caa0c5a
--- /dev/null
+++ b/meta/packages/matchbox-session/matchbox-session/matchbox-session
@@ -0,0 +1,24 @@
1#!/bin/sh
2#
3# Very simple session manager for matchbox tools
4#
5
6# Uncomment below to enable parsing of debian menu entrys
7# export MB_USE_DEB_MENUS=1
8
9if [ -e $HOME/.matchbox/session ]
10then
11exec $HOME/.matchbox/session
12fi
13
14if [ -e /etc/matchbox/session ]
15then
16exec /etc/matchbox/session
17fi
18
19# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
20# dont exist.
21
22matchbox-desktop &
23matchbox-panel &
24exec matchbox-window-manager $@
diff --git a/meta/packages/matchbox-session/matchbox-session_0.1.bb b/meta/packages/matchbox-session/matchbox-session_0.1.bb
new file mode 100644
index 0000000000..c9811f2416
--- /dev/null
+++ b/meta/packages/matchbox-session/matchbox-session_0.1.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "Custom MB session files for poky"
2LICENSE = "GPL"
3SECTION = "x11"
4RCONFLICTS = "matchbox-common"
5
6SRC_URI = "file://matchbox-session"
7S = "${WORKDIR}"
8
9inherit update-alternatives
10
11ALTERNATIVE_NAME = "x-session-manager"
12ALTERNATIVE_LINK = "${bindir}/x-session-manager"
13ALTERNATIVE_PATH = "${bindir}/matchbox-session"
14ALTERNATIVE_PRIORITY = "10"
15
16do_install() {
17 install -d ${D}/${bindir}
18 install -m 0755 ${S}/matchbox-session ${D}/${bindir}
19}