Re: [dev] [dwm] dynamic environment variables

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat, 19 May 2012 18:44:16 +0200

Greetings.

On Sat, 19 May 2012 18:44:16 +0200 Swiatoslaw Gal <swiatoslaw.gal_AT_univie.ac.at> wrote:
> I am wondering if it is possible to implement some (synamic) management of
> environment variables, so, for example I could change HTTP_PROXY when I hook my
> laptop in a new place, and all the processes started from now on would respect
> it. I see some problems, it would work if I start my browser via dmenu, but
> not from terminal or tabbed. It seems that one cannot (easily) modify
> /proc/PID/environ. Sucking window managers do that with dbus which is dirty...

Keep the applications simple, so they can be restarted and recognize the
new environment.


Sincerely,

Christoph Lohmann
Received on Sat May 19 2012 - 18:44:16 CEST

This archive was generated by hypermail 2.3.0 : Sat May 19 2012 - 19:00:07 CEST