wok-next view openbox/stuff/patches/08_autostart-fix.patch @ rev 20616
xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
gcc61 and gcc6 are broken now.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 05:15:11 2018 +0300 (2018-04-21) |
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 "$@"