--- /usr/bin/startkde.orig 2007-04-19 14:40:04.178772622 +0200 +++ /usr/bin/startkde 2007-04-19 14:44:09.651901812 +0200 @@ -25,6 +25,15 @@ # we have to unset this for Darwin since it will screw up KDE's dynamic-loading unset DYLD_FORCE_FLAT_NAMESPACE +# Check if prelinking is enabled. If so, exporting KDE_IS_PRELINKED improves +# loading KDE. +if test -f /etc/default/prelink; then + . /etc/default/prelink + if [ "$PRELINKING" == yes ]; then + export KDE_IS_PRELINKED=1 + fi +fi + # in case we have been started with full pathname spec without being in PATH bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'` if [ -n "$bindir" ]; then