wok-next view openbox/stuff/patches/08_autostart-fix.patch @ rev 19790
Fix rrdtool (EXTERN.h: No such file or directory -> add perl-dev); add/up openbox-themes-debian, opensp, texinfo, sgml-common, docbook-sgml3, docbook-sgml, openjade, docbook-dsssl, perl-sgmlspm, docbook-utils, openbox, openbox-imlib2 -> openbox-max.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 22 20:59:17 2017 +0300 (2017-06-22) |
parents | |
children |
line source
1 Description: Add compatibility to obsession when the pyxdg is not running
2 Author: Mateusz Ĺukasik <mati75@linuxmint.pl>
4 --- a/data/autostart/openbox-autostart.in
5 +++ b/data/autostart/openbox-autostart.in
6 @@ -31,4 +31,9 @@ fi
7 # Run the XDG autostart stuff. These are found in /etc/xdg/autostart and
8 # in $HOME/.config/autostart. This requires PyXDG to be installed.
9 # See openbox-xdg-autostart --help for more details.
10 -@libexecdir@/openbox-xdg-autostart "$@"
11 +if which xdg-autostart >/dev/null 2>/dev/null; then
12 + CMD=xdg-autostart
13 +else
14 + CMD=@libexecdir@/openbox-xdg-autostart
15 +fi
16 +exec $CMD "$@"