|
|
|
@ -460,7 +460,7 @@ fi
|
|
|
|
|
# - a directory /tmp/kde-$USER and links $TDEHOME/tmp-$HOSTNAME to it.
|
|
|
|
|
# - a directory /tmp/tdesocket-$USER and links $TDEHOME/socket-$HOSTNAME to it.
|
|
|
|
|
# - a directory /var/tmp/kdecache-$USER and links $TDEHOME/cache-$HOSTNAME to it.
|
|
|
|
|
# Note: temporary locations can be overriden through the KDETMP and KDEVARTMP
|
|
|
|
|
# Note: temporary locations can be overriden through the TDETMP and TDEVARTMP
|
|
|
|
|
# environment variables.
|
|
|
|
|
for resource in tmp cache socket; do
|
|
|
|
|
if ! lnusertemp $resource >/dev/null; then
|
|
|
|
@ -567,16 +567,16 @@ fi
|
|
|
|
|
|
|
|
|
|
# Finally, give the session control to the session manager.
|
|
|
|
|
# See tdebase/ksmserver for the description of the rest of the startup sequence.
|
|
|
|
|
# If the KDEWM environment variable has been set, then it will be used as Trinity's
|
|
|
|
|
# If the TDEWM environment variable has been set, then it will be used as Trinity's
|
|
|
|
|
# window manager instead of twin.
|
|
|
|
|
# If KDEWM is not set, ksmserver will ensure twin is started.
|
|
|
|
|
# If TDEWM is not set, ksmserver will ensure twin is started.
|
|
|
|
|
# kwrapper is used to reduce startup time and memory usage
|
|
|
|
|
# kwrapper does not return usefull error codes such as the exit code of ksmserver.
|
|
|
|
|
# We only check for 255 which means that the ksmserver process could not be
|
|
|
|
|
# started, any problems thereafter, e.g. ksmserver failing to initialize,
|
|
|
|
|
# will remain undetected.
|
|
|
|
|
test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
|
|
|
|
|
kwrapper ksmserver $KDEWM
|
|
|
|
|
test -n "$TDEWM" && TDEWM="--windowmanager $TDEWM"
|
|
|
|
|
kwrapper ksmserver $TDEWM
|
|
|
|
|
if test $? -eq 255; then
|
|
|
|
|
# Startup error
|
|
|
|
|
echo '[starttde] Could not start ksmserver. Check your installation.' 1>&2
|
|
|
|
|