Kevin Krammer writes:

> On Tuesday, 2011-02-08, Dotan Cohen wrote:

> > ✈ganymede:~$ cat .kde/env/path.sh
> > #!/bin/bash
> > export PATH=$HOME/.bin:$PATH
> 
> Maybe try without the first line.

Hmm, this can't really matter, it's just a comment.

I'd try adding something like
        echo $PATH > /tmp/startkde.log
to verify if this file is being sourced. Or maybe even edit 
/usr/bin/startkde, activating bash debug output, putting all stuff between 
parantheses and redirecting output to another log file:

        #!/bin/sh
        #
        #  DEFAULT KDE STARTUP SCRIPT ( 4.6.00 (4.6.0) )
        #
        
        (
        set -xv # enable debugging
        [rest of script]
        ) > /tmp/startkde.fulllog 2>&1


It might be better to only put the relevant part into parantheses. On my 
Gentoo system it's from line 199 to 214:

(
set -xv
libpath=`kde4-config --path lib | tr : '\n'`

for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
  for file in "$prefix"*.sh; do
    test -r "$file" && . "$file"
  done
done
) > /tmp/startkde.fulllog 2>&1

        Wonko
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Reply via email to