Hi Ryo, On Thursday 29 May 2008, Ryo Furue wrote: > Not only konsole but also kicker gets my env.var. I also found that > the process "/bin/sh /usr/bin/startkde" has the env.var. HELLO_KEVIN, > too (not shown above). Since I use KDM, there's no chance that my own > evn.vars. are fed back to the KDE system, unless the KDE system sources > my .bash_profile . /bin/sh is probably a link for /bin/bash, which means the /bin/sh executing startkde is bash, started as a login shell, thus sourcing .bash_profile > Seeing all these, the only conclusion I can reach is that the KDE > system sources my .bash_profile somewhere during its startup process > even when ~/.kde/env/ is empty. Oh, and I am pretty sure this is done before any KDE involvment by the shell itself. Try env > /tmp/env_at_kde_start.txt as the first (well after #!/bin/shobviously) line of startkde Cheers, Kevin -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring
Attachment:
signature.asc
Description: This is a digitally signed message part.
___________________________________________________ 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.