summaryrefslogtreecommitdiffstats
path: root/meta/packages
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 /meta/packages
parent5c11f3184c25a6e82821705bbd776e039917bc71 (diff)
downloadpoky-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.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 0000000000..db7aa229d2
--- /dev/null
+++ b/meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh
@@ -0,0 +1,7 @@
1XDGAUTOSTART=/etc/xdg/autostart
2if [ -d $XDGAUTOSTART ]; then
3 for SCRIPT in $XDGAUTOSTART/*; do
4 CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2`
5 $CMD &
6 done
7fi \ 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"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "x11" 3SECTION = "x11"
4RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor" 4RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor"
5PR = "r34" 5PR = "r36"
6 6
7SRC_URI = "file://etc" 7SRC_URI = "file://etc"
8S = ${WORKDIR} 8S = ${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)"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "x11" 3SECTION = "x11"
4PRIORITY = "optional" 4PRIORITY = "optional"
5PR = "r17" 5PR = "r18"
6RDEPENDS = "dbus-wait" 6RDEPENDS = "dbus-wait"
7 7
8SRC_URI = "file://xserver-nodm" 8SRC_URI = "file://xserver-nodm"