synaptic-devel
[Top][All Lists]
Advanced

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

Re: [Synaptic-devel] Automatic Proxy setting


From: Jaap Haitsma
Subject: Re: [Synaptic-devel] Automatic Proxy setting
Date: Mon, 19 Jul 2004 17:23:13 +0200 (CEST)
User-agent: SquirrelMail/1.4.0

>>
>> I think if you use  libgksu
>> http://packages.debian.org/unstable/libs/libgksu1.2-0 in synaptic you
>> can
>> start running synaptic as a user, (so you can get the user gnome proxy
>> settings) and then ask the root password
>
> That would be an option, but, for example, I use synaptic via sudo. That
> way I don't have to give the root password every time I start synaptic
> (which happens a lot). I don't know what happens if you use libgksu.
>
If you are already root libgksu will not present you the dialog I think
and otherwise you check before if the user is already root. Only problem
with sudo is then getting the right proxy settings then.


>
> YAO (yet another option) is the http_proxy environment variable which is
> used a lot. IIRC Debian uses this if you set a proxy during installation
> of the system. Don't know for sure though.

Debian indeed uses that one. I would suggest to have 3 options in the end.
Otherwise the options will get overwhelming

1. Direct Connection
2. System Proxy
3. Manual Proxy

System Proxy first checks Gnome proxy then /etc/apt/apt.conf and finally
http_proxy environment variable. If none of the the three exist assume a
direct connection


Jaap




reply via email to

[Prev in Thread] Current Thread [Next in Thread]