diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-09 10:31:51 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-09 10:31:51 +0000 |
commit | ac82765a4b5cbab72ec5b8de4e1ae9354dc389c3 (patch) | |
tree | db01d35a6ba8f0d5dd46edcb011f9178a8f50ba0 /meta/packages/matchbox-session | |
parent | a42d7d3f663a20c4887481636eba0c84fd032e7a (diff) | |
download | poky-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-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 | } | ||