--- kdebase-3.5.2/startkde-- 2006-05-04 12:32:21.000000000 +0200 +++ kdebase-3.5.2/startkde 2006-05-04 12:33:13.000000000 +0200 @@ -14,6 +14,21 @@ exit 1 fi +if [ "$MDV_MENU_STYLE" = "upstream" ]; then + if [ -z "$XDG_CONFIG_DIRS" ]; then + export XDG_CONFIG_DIRS="/etc/xdg/kde/:/etc/xdg" + else + export XDG_CONFIG_DIRS="/etc/xdg/kde/:$XDG_CONFIG_DIRS" + fi +else + if [ -z "$XDG_CONFIG_DIRS" ]; then + export XDG_CONFIG_DIRS="/etc/xdg:/etc/xdg/kde/" + else + export XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:/etc/xdg/kde/" + fi +fi + + # Set the background to plain grey. # The standard X background is nasty, causing moire effects and exploding # people's heads. We use colours from the standard KDE palette for those with