]> Dogcows Code - chaz/openbox/blob - data/xsession/openbox-session.in
Remove desktop hints since Openbox won't overwrite them, but they may be set from...
[chaz/openbox] / data / xsession / openbox-session.in
1 #!/bin/sh
2
3 if test -n "$1"; then
4 echo "Syntax: openbox-session"
5 echo
6 echo "See the openbox-session(1) manpage for help."
7 exit
8 fi
9
10 # Clean up after GDM
11 xprop -root -remove _NET_NUMBER_OF_DESKTOPS \
12 -remove _NET_DESKTOP_NAMES \
13 -remove _NET_CURRENT_DESKTOP 2> /dev/null
14
15 AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh"
16 GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
17
18 if test -r $AUTOSTART; then
19 . $AUTOSTART
20 else
21 if test -r $GLOBALAUTOSTART; then
22 . $GLOBALAUTOSTART
23 fi
24 fi
25
26 exec @bindir@/openbox "$@"
This page took 0.035416 seconds and 4 git commands to generate.