Hello PCMan,
On Wed, Nov 30, 2011 at 12:49:18PM +0800, PCMan wrote:
> For the session manager, I also have some other ideas.
> Is it possible for lxsession to expose an interface for client tools to
> change environment variables.
In my eyes, this function does not belong to the "session", rather to the
application starters. I'd hate to change the session properties back and
forth (and potentially influence more than I need) only to run a single
application instance against a different proxy or with a different locale
than the other ones.
A possibility to easily create a starter/wrapper with a differing
environment for a certain application would feel much better.
> For example, clients can ask lxsession to do setenv("http_proxy", ...), so
> later newly launched applications will use new proxy settings.
> We can also use this to change locale settings on the fly.
What you presumably mean is to "change locale setting per application
instance". Then the approach should be rather "fire once" and/or "per
application" kind of setting, not "for all future new processes".
Another catch is that quite a few applications insist on reusing existing
processes instead of creating new instances - there your approach would
fail, but a starter might include additional command line options
to convince the concerned application to create a new instance.
With a great appreciation for your work,
regards,
Rune
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list