summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-17 17:22:50 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-17 17:22:50 +0100
commit81edb3c7767f681ce4731191705f18f1c4fdf25a (patch)
tree646c7f5e2ba3358f8147336e3d46bd7e35a1d91d
parent5c11f3184c25a6e82821705bbd776e039917bc71 (diff)
downloadopenembedded-core-81edb3c7767f681ce4731191705f18f1c4fdf25a.tar.gz
openembedded-core-81edb3c7767f681ce4731191705f18f1c4fdf25a.tar.bz2
openembedded-core-81edb3c7767f681ce4731191705f18f1c4fdf25a.tar.xz
openembedded-core-81edb3c7767f681ce4731191705f18f1c4fdf25a.zip
x11-common: Add support for starting xdg autostart .desktop files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh7
-rw-r--r--meta/packages/x11-common/x11-common_0.1.bb2
-rw-r--r--meta/packages/x11-common/xserver-nodm-init.bb2
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 000000000..db7aa229d
--- /dev/null
+++ b/meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh
@@ -0,0 +1,7 @@
+XDGAUTOSTART=/etc/xdg/autostart
+if [ -d $XDGAUTOSTART ]; then
+ for SCRIPT in $XDGAUTOSTART/*; do
+ CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2`
+ $CMD &
+ done
+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 a4cef9c49..74e620bd1 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"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor"
-PR = "r34"
+PR = "r36"
SRC_URI = "file://etc"
S = ${WORKDIR}
diff --git a/meta/packages/x11-common/xserver-nodm-init.bb b/meta/packages/x11-common/xserver-nodm-init.bb
index 46cb164a5..521f17c5f 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)"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
-PR = "r17"
+PR = "r18"
RDEPENDS = "dbus-wait"
SRC_URI = "file://xserver-nodm"