Hello,
I am currently playing a bit with the recently
open sourced Common Desktop Enviroment [1].
CDE has a standard session manager, using X Session
Manager Protocol.
For some applications I am setting up some environment
variables, for example my rxvt-unicode (urxvt) is
started as "env LANG=pl_PL.UTF-8 /usr/local/bin/urxvt"
and my browsers need HTTP_PROXY and FTP_PROXY variables
to work (for example it's the only way to set proxy
for my Chrome).
After the session gets restarted upon login, those
application start but the environment is not preserved
(by design). I would like to avoid restarting those
clients only because of missing environment.
I understand that XSMP is fully client-driven, but
is there any way to solve this issue? Maybe the
window manager could save some data from the client
environment?
Do you know how other X "desktop environments" are
dealing with this problem?
[1]
http://cdesktopenv.sourceforge.net
//Marcin