#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#

# If you want to use GNOME config tools...
#
#if test -x /usr/lib/i386-linux-gnu/gnome-settings-daemon >/dev/null; then
#  /usr/lib/i386-linux-gnu/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null 2>&1; then
#  gnome-settings-daemon &
#fi

# If you want to use XFCE config tools...
#
#xfce-mcs-manager &

if [ "$DESKTOP_SESSION" != 'gnome' ]; then
    DESKTOP_ENV="OPENBOX"
    if which /usr/lib/i386-linux-gnu/openbox-xdg-autostart >/dev/null; then
       /usr/lib/i386-linux-gnu/openbox-xdg-autostart $DESKTOP_ENV
    fi
fi
