Public bug reported: Binary package hint: ksmserver
I have a number of scripts in ~/.kde/env folder to setup various KDE environment variables including KDEWM. Startkde has a shebang of /bin/sh and /bin/sh is linked by default to dash The following code in startkde does not work correctly under dash... exepath=`kde-config --path exe | tr : '\n'` for prefix in `echo "$exepath" | sed -n -e 's,/bin[^/]*/,/env/,p'`; do for file in "$prefix"*.sh; do test -r "$file" && . "$file" done done tested using the following shell script under bash and dash... exepath=`kde-config --path exe | tr : '\n'` for prefix in `echo "$exepath" | sed -n -e 's,/bin[^/]*/,/env/,p'`; do for file in "$prefix"*.sh; do echo prefix = $prefix , file = $file done done which returns the following under bash (OK): - prefix = /home/paul/.kde/env/ , file = /home/paul/.kde/env/compiz.sh prefix = /home/paul/.kde/env/ , file = /home/paul/.kde/env/gtk-qt-engine.rc.sh prefix = /usr/env/ , file = /usr/env/*.sh and this under dash (NOTOK): - prefix = /home/paul/.kde/env/ , file = /home/paul/.kde/env/compiz.sh /home/paul/.kde/env/gtk-qt-engine.rc.sh prefix = /usr/env/ , file = /usr/env/*.sh ...hence the startkde line (test -r "$file" && . "$file") does not work and scripts do not get executed. WORKAROUND: link /bin/sh to bash ** Affects: kdebase (Ubuntu) Importance: Undecided Status: New -- KDE env broken in startkde because of dash? https://bugs.launchpad.net/bugs/179060 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdebase in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs