startup, .profile, env.vars., etc.

Kevin Krammer kevin.krammer at gmx.at
Thu May 29 20:27:57 BST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20080529/fddae591/attachment.sig>
-------------- next 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.


More information about the kde mailing list