diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/matchbox-session/matchbox-session/matchbox-session | 24 | ||||
-rw-r--r-- | meta/packages/matchbox-session/matchbox-session_0.1.bb | 19 |
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 | |||
9 | if [ -e $HOME/.matchbox/session ] | ||
10 | then | ||
11 | exec $HOME/.matchbox/session | ||
12 | fi | ||
13 | |||
14 | if [ -e /etc/matchbox/session ] | ||
15 | then | ||
16 | exec /etc/matchbox/session | ||
17 | fi | ||
18 | |||
19 | # Default files to run if $HOME/.matchbox/session or /etc/matchbox/session | ||
20 | # dont exist. | ||
21 | |||
22 | matchbox-desktop & | ||
23 | matchbox-panel & | ||
24 | exec 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 @@ | |||
1 | DESCRIPTION = "Custom MB session files for poky" | ||
2 | LICENSE = "GPL" | ||
3 | SECTION = "x11" | ||
4 | RCONFLICTS = "matchbox-common" | ||
5 | |||
6 | SRC_URI = "file://matchbox-session" | ||
7 | S = "${WORKDIR}" | ||
8 | |||
9 | inherit update-alternatives | ||
10 | |||
11 | ALTERNATIVE_NAME = "x-session-manager" | ||
12 | ALTERNATIVE_LINK = "${bindir}/x-session-manager" | ||
13 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
14 | ALTERNATIVE_PRIORITY = "10" | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}/${bindir} | ||
18 | install -m 0755 ${S}/matchbox-session ${D}/${bindir} | ||
19 | } | ||