#!/bin/bash
# kdesetup installs .kde and Desktop directories, if absent.
# Only run kdesetup if it exists (for compatibility of this .Xclients
# script with older versions of KDE)
if [ -f $KDEDIR/bin/kdesetup ] ; then
    $KDEDIR/bin/kdesetup
fi
# clean up old kde /tmp files that belong to the user
for file in /tmp/kfm* /tmp/kio* ; do
    if [ -O $file ] ; then
	rm -fr $file
    fi
done
# add any local customizations here, before the startkde script runs
$KDEDIR/bin/startkde

