diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-17 17:22:50 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-17 17:22:50 +0100 |
commit | 81edb3c7767f681ce4731191705f18f1c4fdf25a (patch) | |
tree | 646c7f5e2ba3358f8147336e3d46bd7e35a1d91d /meta/packages/x11-common/x11-common | |
parent | 5c11f3184c25a6e82821705bbd776e039917bc71 (diff) | |
download | poky-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/x11-common/x11-common')
-rw-r--r-- | meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh | 7 |
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 0000000000..db7aa229d2 --- /dev/null +++ b/meta/packages/x11-common/x11-common/etc/X11/Xsession.d/89xdgautostart.sh | |||
@@ -0,0 +1,7 @@ | |||
1 | XDGAUTOSTART=/etc/xdg/autostart | ||
2 | if [ -d $XDGAUTOSTART ]; then | ||
3 | for SCRIPT in $XDGAUTOSTART/*; do | ||
4 | CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2` | ||
5 | $CMD & | ||
6 | done | ||
7 | fi \ No newline at end of file | ||