On Fri, 28 Aug 2009 00:35:22 -0300 Wido <[email protected]> said:

> kind of. This is for my laptop, so i can't do that (no proxy at home), that
> is why i suggested something more "dynamic"

this is in general a problem with the environment-variable method. env vars are
sticky and are inherited from parent processes. chaining it in e will not change
any apps u ran until they are closed and re-opened to re-inherit the parent
env. this is something that needs to be much more linked to things like
network-manager and network profiels, based on where you connect, either the
network tells you your configuration, does transparent proxies so networks look
all the same, or your app/daemon that handles network connecting and those
configs/profiles turns such a feature on and off based on the network being
used AND all apps that would use a proxy would dynamically follow such a
change (via dbus maybe?) (ie query dbus for current proxy config then listen
for proxy change singals).

in general some generic "set up env vars" module would be useful - but not
really for proxy handling as the above wouldnt work there. this is a problem
to be solved some other way. (HTTP_PROXY env var is old and from the days
before machines moved from one network to another - they were attached to one
and fixed)

> 2009/8/28 Carsten Haitzler <[email protected]>
> 
> > On Thu, 27 Aug 2009 21:05:35 -0300 Wido <[email protected]> said:
> >
> > > first, i don't have control on the proxy. Second, big company, lots of
> > > country's, lots of proxys (even 2 where i am). So you can choose which
> > one
> > > you prefer
> > > i still think it sucks, but is out of my limits.
> >
> > in general iu agree - proxies suck. a transparent proxy tho means u can
> > enforce
> > one on your network and not need anyone to configure anything. much lower
> > IT
> > overhead. forcing everyy machine to configure it to me says bad IT people
> > (unless you have maybe 5 or fewer machines - at which point it's such a
> > small
> > company you dont need a proxy etc.) :)
> >
> > but it's in your startup scripts (~/.xsession etc.) or .bashrc  etc. etc.
> > that
> > you set your environment up for your user. :) yes e could do it - but it
> > doesnt
> > have such a feature currently :)
> >
> > > Gustavo, i'm not a coder, although i know some C and some python. I'll
> > try
> > > to do as you told me, really appreciate it!!!
> > >
> > > 2009/8/27 Carsten Haitzler <[email protected]>
> > >
> > > > On Wed, 26 Aug 2009 20:58:20 -0300 Wido <[email protected]> said:
> > > >
> > > > > i've tryed Robin's tip and it doesn't works either.
> > > > > Raster, I don't like non-transparent proxys and I know E doesn't has
> > a
> > > > lot
> > > >
> > > > if you have a proxy, and otherwise, http (https) is blocked without
> > using
> > > > the
> > > > proxy.. then what's the point of it being non-transparent? either u use
> > > > proxy
> > > > or it doesn't work.
> > > >
> > > > > of things (hey, i love it anyway), that is why i suggested something
> > like
> > > > > that. IMO, kde has a nice approach on several ways to do
> > > > that....although,
> > > > > they don't work that nice (at least, for me)
> > > > >
> > > > > 2009/8/22 Carsten Haitzler <[email protected]>
> > > > >
> > > > > > On Mon, 17 Aug 2009 18:11:19 -0300 Wido <[email protected]> said:
> > > > > >
> > > > > > > i haven't done exactly that, but my guess is that everithing in
> > > > > > > /etc/environment is going to be sourced by bash (which i use) and
> > > > thus,
> > > > > > > "sourced" by e. I'll try it anyway on my work
> > > > > > >
> > > > > > > anyway, wouldn't be nice to have something like that? i mean, i
> > guess
> > > > > > more
> > > > > > > and more cool stuff may be comming and something as a proxy
> > setting
> > > > seems
> > > > > > to
> > > > > > > be something normal in any desktop by this days (gnome, kde and
> > xfce
> > > > at
> > > > > > > least have it)
> > > > > >
> > > > > > non-transparent proxies imho are broken proxies, if that is the
> > only
> > > > way to
> > > > > > get
> > > > > > a connection. (if proxy is optional - that's another matter). as
> > for
> > > > proxy
> > > > > > -
> > > > > > you can set HTTP_PROXY in your system environmewnt, personal
> > bashrc,
> > > > > > profile or
> > > > > > whatever you please. no e doesn't have any settings for it. it
> > doesn't
> > > > have
> > > > > > a
> > > > > > lot of things :)
> > > > > >
> > > > > > --
> > > > > > ------------- Codito, ergo sum - "I code, therefore I am"
> > > > --------------
> > > > > > The Rasterman (Carsten Haitzler)    [email protected]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Wido
> > > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > > > 30-Day
> > > > > trial. Simplify your report design, integration and deployment - and
> > > > focus on
> > > > > what you do best, core application coding. Discover what's new with
> > > > > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > > > > _______________________________________________
> > > > > enlightenment-users mailing list
> > > > > [email protected]
> > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> > > > >
> > > >
> > > >
> > > > --
> > > > ------------- Codito, ergo sum - "I code, therefore I am"
> > --------------
> > > > The Rasterman (Carsten Haitzler)    [email protected]
> > > >
> > > >
> > >
> > >
> > > --
> > > Wido
> > >
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    [email protected]
> >
> >
> 
> 
> -- 
> Wido
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to