2007-05-15 18:58:25 +00:00
|
|
|
## http://kde.ground.cz/tiki-index.php?page=Environment+Variables
|
|
|
|
## for possible entries here
|
|
|
|
|
2007-09-20 14:37:35 +00:00
|
|
|
## Make sure KDEDIRS is set
|
|
|
|
if ( ! $?KDEDIRS ) setenv KDEDIRS /usr
|
|
|
|
|
2007-12-01 19:43:21 +00:00
|
|
|
## When/if using prelinking, avoids use of kdeinit
|
2007-09-20 14:37:35 +00:00
|
|
|
if ( -f /etc/sysconfig/prelink ) then
|
|
|
|
set PRELINKING = `grep "^PRELINKING=" /etc/sysconfig/prelink | cut -d"=" -f2`
|
|
|
|
if ( "$PRELINKING" == "yes" ) then
|
|
|
|
if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
|
|
|
|
endif
|
2009-01-09 15:43:38 +00:00
|
|
|
unset PRELINKING
|
2007-09-20 14:37:35 +00:00
|
|
|
endif
|
2006-05-16 14:56:43 +00:00
|
|
|
|
2009-01-09 15:43:38 +00:00
|
|
|
# handled in startkde, but this sets for other DE's too
|
|
|
|
set KDE4_QTPLUGINS=`kde4-config --path qtplugins`
|
|
|
|
if ( $?QT_PLUGIN_PATH ) then
|
|
|
|
if ( "$QT_PLUGIN_PATH" !~ *"${KDE4_QTPLUGINS}"* ) then
|
|
|
|
setenv QT_PLUGIN_PATH ${QT_PLUGIN_PATH}:${KDE4_QTPLUGINS}
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
setenv QT_PLUGIN_PATH ${KDE4_QTPLUGINS}
|
2007-12-01 19:43:21 +00:00
|
|
|
endif
|
2009-01-09 15:43:38 +00:00
|
|
|
unset KDE4_QTPLUGINS
|