gnome reads ~/.profile upon login. when i change something in .profile (for example the LC_MESSAGES) i want gnome to reread the .profile file without logging out and back in. in bash i can tell bash to source .profile. how can i do that for the running gnome session?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
I think it is not possible. The relevant script is /etc/gdm/Xsession. There quite at the top you'll find
and after that (and sourcing other scripts, loading X resources etc) the desktop environment is started, inheriting the values of .profile just loaded. As there is no way to change the environment of running processes (if the process has no special functionality to import changed environment, but this is nothing you commonly find), you seem to be out of luck. |
|||||
|
