diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-17 17:22:50 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-17 17:22:50 +0100 |
commit | 81edb3c7767f681ce4731191705f18f1c4fdf25a (patch) | |
tree | 646c7f5e2ba3358f8147336e3d46bd7e35a1d91d /meta/packages | |
parent | 5c11f3184c25a6e82821705bbd776e039917bc71 (diff) | |
download | poky-81edb3c7767f681ce4731191705f18f1c4fdf25a.tar.gz |
x11-common: Add support for starting xdg autostart .desktop files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh | 7 | ||||
-rw-r--r-- | meta/packages/x11-common/x11-common_0.1.bb | 2 | ||||
-rw-r--r-- | meta/packages/x11-common/xserver-nodm-init.bb | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh b/meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh new file mode 100644 index 0000000000..db7aa229d2 --- /dev/null +++ b/meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh | |||
@@ -0,0 +1,7 @@ | |||
1 | XDGAUTOSTART=/etc/xdg/autostart | ||
2 | if [ -d $XDGAUTOSTART ]; then | ||
3 | for SCRIPT in $XDGAUTOSTART/*; do | ||
4 | CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2` | ||
5 | $CMD & | ||
6 | done | ||
7 | fi \ No newline at end of file | ||
diff --git a/meta/packages/x11-common/x11-common_0.1.bb b/meta/packages/x11-common/x11-common_0.1.bb index a4cef9c49a..74e620bd16 100644 --- a/meta/packages/x11-common/x11-common_0.1.bb +++ b/meta/packages/x11-common/x11-common_0.1.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor" | 4 | RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor" |
5 | PR = "r34" | 5 | PR = "r36" |
6 | 6 | ||
7 | SRC_URI = "file://etc" | 7 | SRC_URI = "file://etc" |
8 | S = ${WORKDIR} | 8 | S = ${WORKDIR} |
diff --git a/meta/packages/x11-common/xserver-nodm-init.bb b/meta/packages/x11-common/xserver-nodm-init.bb index 46cb164a51..521f17c5f4 100644 --- a/meta/packages/x11-common/xserver-nodm-init.bb +++ b/meta/packages/x11-common/xserver-nodm-init.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
5 | PR = "r17" | 5 | PR = "r18" |
6 | RDEPENDS = "dbus-wait" | 6 | RDEPENDS = "dbus-wait" |
7 | 7 | ||
8 | SRC_URI = "file://xserver-nodm" | 8 | SRC_URI = "file://xserver-nodm" |