xserver-common 1.24: fix xdg autostarting
authorKoen Kooi <koen@openembedded.org>
Sun, 31 May 2009 09:57:10 +0000 (11:57 +0200)
committerKoen Kooi <koen@openembedded.org>
Sun, 31 May 2009 09:57:10 +0000 (11:57 +0200)
* it belongs in the xsession, not in the xinit

recipes/xserver-common/files/89xdgautostart.sh
recipes/xserver-common/xserver-common_1.24.bb

index db7aa22..9886f9f 100644 (file)
@@ -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
index 27b4ba6..1059160 100644 (file)
@@ -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"
 }