Re: Setting global environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> Taking another look at this. It doesn't really work the way I had
> hoped. I can set the $http_proxy variable when connecting to the VPN
> but the variable is only valid from the bash shell it was called from.
> Is there no way to make existing processes acknowledge the variable?

no, environment variables are only inherited from the parent process

> The main idea behind this is so that I can leave my browser running
> whether I'm connected to the VPN or not. Currently I have firefox with
> setup to connect to the proxy and I use another browser whenever I'm
> not connected (rather than changing the firefox network settings
> everytime).

Install the foxy-proxy extension for Firefox, it'll allow you to
quickly change the proxy



-- 
damjan


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux