[Sugar-devel] Proxy Settings Feature in the recent versions of sugar

Manash Raja mpdmanash at gmail.com
Tue Mar 15 00:28:31 EDT 2016


Hi,

I thank you all for the guidance.

I modified my PR as per your suggestions and now the implementation of the
proxy feature is far better.
@Sam, as you suggested, I have now completely removed the need of
re-writing "proxy.sh" every time the settings changes and am using
"org.gnome.system.proxy" schemas. Now "/usr/bin/sugar" is hard-coded to
read the proxy settings from "org.gnome.system.proxy" and export it to the
environment variables required for the proxy settings to be available
easily.

@Gonzalo, thanks for the link to that important patch from Manuel QuiƱones.
And @James, I have changed my "view.py" and "model.py" files to go with
Manuel QuiƱones' way of setting the "org.gnome.system.proxy" schemas via
GSettings. This has hence removed the dependence on polkit for file write
permissions and made us do away with extra files like "set_proxy.py" for
running root permitted scripts.

Also I have removed the "logout.sh" script as now I am using the pre-made
"require-restart" feature present in "sectionview" which asks the user for
restart.

Also @James, shall I now therefore submit the GUI changes and the changes
you proposed to for this update in the features page?
wiki.sugarlabs.org/go/Features/Proxy_Settings

Here is the patch I submitted:
https://github.com/ManashRaja/sugar/commit/4fe1a2fea7f37d036331c1a1ae736c88cc29d62d

Thanks
Regards
Manash Pratim Das



On Mon, Mar 14, 2016 at 8:03 AM, James Cameron <quozl at laptop.org> wrote:

> On Sun, Mar 13, 2016 at 11:18:46PM -0300, Gonzalo Odiard wrote:
> > On Sun, Mar 13, 2016 at 11:09 PM, Jerry Vonau <[1]me at jvonau.ca> wrote:
> >
> > > Yea that has roots to the old ActivityCentral fork, any reason
> > > why this has not been 'upstreamed' from OneEducation(OLPC-AU) to
> > > SugarLabs?
> >
> > Yes. Was not accepted by sugar upstream.
>
> Let's have another go then.  See what the objections are from the
> current set of developers.
>
> > I upstreamed all that was possible, the only changes that were
> > developed just for OLPC-AU were the changes needed to deal with the
> > complex network environments common in Australian schools.
>
> This disease is spreading.
>
> --
> James Cameron
> http://quozl.netrek.org/
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160315/25994e65/attachment.html>


More information about the Sugar-devel mailing list