#!/bin/sh

# turn on fonts antialiasing
export GDK_USE_XFT=1

if [ -x /usr/bin/nautilus-mozilla-content-view ]; then
  export BROWSER=nautilus
  export HELP_BROWSER=nautilus
else
  export HELP_BROWSER=yelp
fi

# Metacity is a default window manager
if [ -x /usr/bin/metacity ]; then
    export WINDOW_MANAGER=metacity
fi

/usr/X11R6/bin/xsetroot -cursor_name watch
exec /usr/bin/gnome-session "$@"
/usr/X11R6/bin/xsetroot -cursor_name X_cursor
