#!/bin/sh
########################################################################
#
# XFce
#
# $Id: XFce.in,v 1.2 2002/03/11 21:38:50 xfce Exp $
#
# XFce file for GDM.  Usually in /etc/X11/gdm/Sessions.
#
# Add support for XIM; Modified by Babyfai Cheung.  2002/03/10 
########################################################################
## Launch an XIM input server if needed

# This's for RedHat and Slackware
for i in /etc/X11/xinit/xinitrc.d/* ; do
    if [ -x "$i" ]; then
        . "$i"
    fi
done

# This's for Mandrake
if [ -x /etc/X11/xinit/XIM ]; then
   . /etc/X11/xinit/XIM
fi

exec BIN_DIR/startxfce

