![](https://seccdn.libravatar.org/avatar/fd99eb223639c61d848b8863c8b41a93.jpg?s=120&d=mm&r=g)
Ti Kan wrote:
Paul Cartwright writes:
On Saturday 23 October 2004 4:29 pm, Dom Incollingo wrote:
I often update the environmental variables (such as PATH, CLASSPATH, JAVA_HOME, TOMCAT_HOME, etc.) in my .profile when I install new software. =A0But in order for the new values to take effect, I log out of my x session (gnome in my case), and then log back in. =A0Is there any way for the new values of environmental variables to take effect without logging out and back in? =A0Thanks very much.
it used to be: prompt:> . .profile =20
as in dot space dot-profile
That works only for the shell that you have running in a terminal window (e.g., konsole), but kde startup script running "in the background" still has the old environment. Unfortunately, there is no way to refresh that without a re-login.
-Ti
Thanks very much for the replies. Before I read the second reply, I tried the . .profile, and, as you stated, it worked fine for the konsole session but not for the entire gnome environment. I'll continue to do a re-login in the future. Thanks again for your help. Dom