Re: Galeon and switchproxy or several proxies

wwp <[email protected]> Thu, 6 Apr 2006 00:03:00 +0200
Newsgroups gmane.comp.web.galeon.user
Message-ID <[email protected]>
Hello Mişu,


On Wed, 05 Apr 2006 18:26:39 +0300 Mişu Moldovan <[email protected]> wrote:

> În data de Mi, 05 apr 06 la 16:31, wwp a scris:
> > I've installed the switchproxy add-on to firefox and mozilla, it  
> > works fine w/ both. I wonder is it's possible to use it in galeon  
> > too? FYI: proxy  prefs in GNOME don't allow several proxies to be  
> > configured, this plug-in does it.
> > Or maybe there's another galeon-way to setup and use several proxies?
> > 
> > References:
> > https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&id=125
> > http://tor.eff.org/docs/tor-switchproxy.html.en
> > 
> 
> I use the following script to set a new proxy. It takes two arguments:  
> the proxy host and the port.
> 
> ----  script start  ----
> #!/bin/sh
> gconftool-2 --set /system/http_proxy/host --type string "$1"
> gconftool-2 --set /system/http_proxy/port --type integer "$2"
> gconftool-2 --set /system/proxy/ftp_host --type string "$1"
> gconftool-2 --set /system/proxy/ftp_port --type integer "$2"
> gconftool-2 --set /system/proxy/secure_host --type string "$1"
> gconftool-2 --set /system/proxy/secure_port --type integer "$2"
> ----   script end   ----
> 
> Save the above lines to a script named "sp.sh" in your $PATH, and then  
> invoke it like this "sp.sh $proxy_host $proxy_port"
> 
> It works quite fine and I like it more than the "switchproxy" firefox  
> extension. Beware that this will change the proxy for all gnome apps.

Oh great, thanks!


Regards,

-- 
wwp
signature.asc (application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEND6UadgnuQFKG88RAgIYAJ96RrOdtPL8k6678vLUyqjiS+IpRACbBToJ
VmhhlHIUZQDPDrLojw8bZPA=
=YXbn
-----END PGP SIGNATURE-----