Update version in configure.ac to 3.5.2
[openbox.git] / data / xsession / openbox-session.in
blob3cf3571fa64eacaa54000edd37e365f865edaa56
1 #!/bin/sh
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
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
15 # Set up the environment
16 A="@configdir@/openbox/environment"
17 test -r $A && . $A
18 A="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/environment"
19 test -r $A && . $A
21 # Run Openbox, and have it run the autostart stuff
22 exec @bindir@/openbox --startup "@libexecdir@/openbox-autostart OPENBOX" "$@"