summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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}