summaryrefslogtreecommitdiff
path: root/meta/packages/x11-common/x11-common
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/x11-common/x11-common
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>
Diffstat (limited to 'meta/packages/x11-common/x11-common')
-rw-r--r--meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh7
1 files changed, 7 insertions, 0 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