wok-next view openbox/stuff/patches/08_autostart-fix.patch @ rev 21019

tor update: 0.3.3.7 -> 0.3.3.10
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Oct 28 14:13:49 2018 +0000 (2018-10-28)
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 "$@"