summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/xserver-common/files/89xdgautostart.sh6
-rw-r--r--recipes/xserver-common/xserver-common_1.24.bb4
2 files changed, 6 insertions, 4 deletions
diff --git a/recipes/xserver-common/files/89xdgautostart.sh b/recipes/xserver-common/files/89xdgautostart.sh
index db7aa229d2..9886f9fee1 100644
--- a/recipes/xserver-common/files/89xdgautostart.sh
+++ b/recipes/xserver-common/files/89xdgautostart.sh
@@ -1,7 +1,9 @@
+#!/bin/sh
+
XDGAUTOSTART=/etc/xdg/autostart
-if [ -d $XDGAUTOSTART ]; then
+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
+fi
diff --git a/recipes/xserver-common/xserver-common_1.24.bb b/recipes/xserver-common/xserver-common_1.24.bb
index 27b4ba6a70..105916018f 100644
--- a/recipes/xserver-common/xserver-common_1.24.bb
+++ b/recipes/xserver-common/xserver-common_1.24.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-PR = "r1"
+PR = "r3"
PACKAGE_ARCH = "all"
@@ -15,5 +15,5 @@ SRC_URI_append = " file://setDPI.sh \
do_install_append() {
install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
- install -m 0755 "${WORKDIR}/89xdgautostart.sh" "${D}/etc/X11/Xinit.d/89xdgautostart.sh"
+ install -m 0755 "${WORKDIR}/89xdgautostart.sh" "${D}/etc/X11/Xsession.d/89xdgautostart"
}