[rkward-devel] system() and exported paths

meik michalke meik.michalke at uni-duesseldorf.de
Sat Jun 11 17:08:18 UTC 2011


am Freitag 10 Juni 2011 (13:57) schrieb Thomas Friedrichsmeier:
> After some testing on my machine, it looks like:
> - Modifications in .bashrc do not take effect in rkward when launched from
> the  appliations menu
> - Modifications in .bash_profile do take effect (after logging out / in).
> I'm not sure, whether or not this is expected behavior, but if it is a
> bug,  then that bug is not specific to RKWard, at least. In any case I
> would suspect that any other GUI application launched from the menu will
> behave the same.
> Does anybody have more insight on this?

i think i remember some of this, because some time ago (probably years now) i 
once had a hard time finding out where to set environment variables so that 
KDE would reliably recognize them. from what i remember listing them in 
/etc/enviroment was the safest method, although this will set the variables 
system-wide (and it's only read, not executed, i.e. it's not a script).

you should try exporting variables in ~/.xsessionrc for a more local approach. 
~/.profile might also work, but it will be ignored by bash unter certain 
circumstances (e.g. an existing ~/.bash_profile, unless you include it like ". 
~/.profile" in there).

viele grüße :: m.eik

dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at 40225 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20110611/6525cef2/attachment.sig>

More information about the Rkward-devel mailing list