<br><br>
<div><span class="gmail_quote">On 1/19/08, <b class="gmail_sendername">Kevin Krammer</b> <<a href="mailto:kevin.krammer@gmx.at">kevin.krammer@gmx.at</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Friday 18 January 2008, Frank Bures wrote:<br>> I am having a weird problem with KDE 3.5.4.<br>><br>
> I use modified .cshrc and .kshrc which I have been using on various<br>> *NIXes for years. If I open a Konsole and do 'locale' I get correct<br>> values for all relevant variables in all shells (ksh, csh, bash).
<br>> If I run 'k3b' (compiled from source) in any of those shells I get no<br>> complains.<br>><br>> Now, if I open K3B by clicking on its Desktop icon, it complains about<br>> unset locale variables, namely
<br>> "System locale charset is ANSI_X3.4-1968"<br>><br>> There is no option to change the shell k3b is running in by right clicking<br>> the icon and opening Properties.<br>><br>> Question: How can I path the correct environmental settings onto the
<br>> K3B icon?<br><br>All programs launched through KDE, e.g. desktop icon, "run command", K-Menu,<br>are executed in the environment KDE itself runs in, i.e. the environment the<br>KDE start script "startkde" runs in.
<br><br>One of the usual causes for the observed difference is that the shell running<br>startkde does not read the same shell configuration files since it is a login<br>shell and non-interactive and shells often differentiate which files they
<br>read for different kinds of invocation.<br><br>For example bash reads /etc/profile and its local equivalent when it is<br>invoked as a login shell, but reads /etc/bash.bashrc and its local equivalent<br>when run as an interactive shell, non-login, shell, so any environment
<br>customization in ~/.bashrc would be available in a Konsole window, but not<br>for the KDE session itself.<br><br>Cheers,<br>Kevin</blockquote>
<div> </div>
<div>So do you mean that variables written in /etc/profile could be available in KDE environment itself?</div>
<div> </div>
<div>Cheers,</div>
<div>Grissiom</div><br> </div>