[Sugar-devel] Sugarizing an application

Daniel Castelo dcastelo.sugarlabs at gmail.com
Wed Oct 21 08:50:25 EDT 2009


Thanks for your help.
Regards

On Wed, Oct 21, 2009 at 10:46 AM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:

> On Wed, Oct 21, 2009 at 13:41, Daniel Castelo
> <dcastelo.sugarlabs at gmail.com> wrote:
> > Sorry, just a distraction.
> > Is the image that we use in Uruguay, and doesn't have the root access
> > available.
> > Network manager supports connections with a modem 3g?
>
> Current versions of NetworkManager do, but if it's the image now used
> in Uruguay (based in Fedora 9), then it may be too old.
>
> I'm CC'ing Dan Williams who is the main author of NM in case he can
> suggest you a way forward.
>
> Regards and good luck,
>
> Tomeu
>
> > Thanks for your help
> >
> >
> > On Wed, Oct 21, 2009 at 10:26 AM, Tomeu Vizoso <tomeu at sugarlabs.org>
> wrote:
> >>
> >> On Wed, Oct 21, 2009 at 13:22, Daniel Castelo
> >> <dcastelo.sugarlabs at gmail.com> wrote:
> >> > OLPC release 9 (Joyride).  is enough?
> >>
> >> Sorry, not sure to what image that may correspond. Can you tell me how
> >> that image can be acquired? Depending on the configuration, root
> >> access may be available or not.
> >>
> >> But James' suggestion is good, if you can do it via NetworkManager,
> >> then you can work around the root limitation.
> >>
> >> Also, please don't drop the mailing list from the email recipients (do
> >> "reply all" instead of just replying to me).
> >>
> >> Regards,
> >>
> >> Tomeu
> >>
> >> > On Wed, Oct 21, 2009 at 10:05 AM, Tomeu Vizoso <tomeu at sugarlabs.org>
> >> > wrote:
> >> >>
> >> >> On Wed, Oct 21, 2009 at 13:01, Daniel Castelo
> >> >> <dcastelo.sugarlabs at gmail.com> wrote:
> >> >> > 0.82 of sugar with kernel 2.6.25-20090223.olpc
> >> >>
> >> >> A distribution is much more than sugar and a kernel, can you be more
> >> >> specific?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> Tomeu
> >> >>
> >> >> >
> >> >> > On Wed, Oct 21, 2009 at 9:52 AM, Tomeu Vizoso <tomeu at sugarlabs.org
> >
> >> >> > wrote:
> >> >> >>
> >> >> >> On Wed, Oct 21, 2009 at 12:50, Daniel Castelo
> >> >> >> <dcastelo.sugarlabs at gmail.com> wrote:
> >> >> >> > First, I tried to sugarized gnome-ppp (made with  C and gtk) and
> >> >> >> > execute
> >> >> >> > it
> >> >> >> > as an activity. But it doesn't looks fine. Now i am thinking in
> >> >> >> > rewrite
> >> >> >> > gnome-ppp in python like "native" Activity. The problem that i
> >> >> >> > have,
> >> >> >> > is
> >> >> >> > that
> >> >> >> > I need to execute wvdial as root and write the resolv.conf file
> >> >> >> > with
> >> >> >> > the
> >> >> >> > dns
> >> >> >> > configuration. How can I run things with root privileges?
> >> >> >>
> >> >> >> Well, this has nothing to do with Sugar but with the underlying
> OS.
> >> >> >> Which distribution are you using?
> >> >> >>
> >> >> >> Regards,
> >> >> >>
> >> >> >> Tomeu
> >> >> >>
> >> >> >> > Thanks.
> >> >> >> >
> >> >> >> > On Thu, Oct 15, 2009 at 7:34 AM, Tomeu Vizoso
> >> >> >> > <tomeu at sugarlabs.org>
> >> >> >> > wrote:
> >> >> >> >>
> >> >> >> >> On Wed, Oct 14, 2009 at 13:33, Daniel Castelo
> >> >> >> >> <dcastelo.sugarlabs at gmail.com> wrote:
> >> >> >> >> > I am testing the client gnome-ppp to connect the Xo with a
> >> >> >> >> > modem
> >> >> >> >> > 3G.
> >> >> >> >> > When I
> >> >> >> >> > execute the client using consolehelper and pam (or the root
> >> >> >> >> > user)
> >> >> >> >> > the
> >> >> >> >> > application looks without the sugar theme. When I execute the
> >> >> >> >> > binary
> >> >> >> >> > file of
> >> >> >> >> > the client (/usr/sbin/gnome-ppp) it looks "fine".
> >> >> >> >>
> >> >> >> >> And you want to create a Sugar activity with the functionality
> in
> >> >> >> >> gnome-ppp ? Or what is the final goal?
> >> >> >> >>
> >> >> >> >> Regards,
> >> >> >> >>
> >> >> >> >> Tomeu
> >> >> >> >>
> >> >> >> >> > Thanks
> >> >> >> >> >
> >> >> >> >> > On Wed, Oct 14, 2009 at 9:57 AM, Tomeu Vizoso
> >> >> >> >> > <tomeu at sugarlabs.org>
> >> >> >> >> > wrote:
> >> >> >> >> >>
> >> >> >> >> >> On Wed, Oct 14, 2009 at 12:54, Daniel Castelo
> >> >> >> >> >> <dcastelo.sugarlabs at gmail.com> wrote:
> >> >> >> >> >> > Hi. When I execute an application written in C and gtk
> with
> >> >> >> >> >> > a
> >> >> >> >> >> > "normal
> >> >> >> >> >> > user"
> >> >> >> >> >> > (not the root user)  it looks fine, I mean sugarized (for
> >> >> >> >> >> > example
> >> >> >> >> >> > with
> >> >> >> >> >> > rounded entry text). But if i execute it with the root
> user
> >> >> >> >> >> > it
> >> >> >> >> >> > looks
> >> >> >> >> >> > without
> >> >> >> >> >> > the sugar theme. On what it depends?
> >> >> >> >> >>
> >> >> >> >> >> The Gtk+ theme is set per user, so if you run as root you
> are
> >> >> >> >> >> running
> >> >> >> >> >> it in a very different environment. If this is a problem for
> >> >> >> >> >> you,
> >> >> >> >> >> then
> >> >> >> >> >> we may be able to help if you explain what you are trying to
> >> >> >> >> >> do.
> >> >> >> >> >>
> >> >> >> >> >> Regards,
> >> >> >> >> >>
> >> >> >> >> >> Tomeu
> >> >> >> >> >>
> >> >> >> >> >> --
> >> >> >> >> >> «Sugar Labs is anyone who participates in improving and
> using
> >> >> >> >> >> Sugar.
> >> >> >> >> >> What Sugar Labs does is determined by the participants.» -
> >> >> >> >> >> David
> >> >> >> >> >> Farning
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> «Sugar Labs is anyone who participates in improving and using
> >> >> >> >> Sugar.
> >> >> >> >> What Sugar Labs does is determined by the participants.» -
> David
> >> >> >> >> Farning
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> «Sugar Labs is anyone who participates in improving and using
> Sugar.
> >> >> >> What Sugar Labs does is determined by the participants.» - David
> >> >> >> Farning
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> «Sugar Labs is anyone who participates in improving and using Sugar.
> >> >> What Sugar Labs does is determined by the participants.» - David
> >> >> Farning
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> «Sugar Labs is anyone who participates in improving and using Sugar.
> >> What Sugar Labs does is determined by the participants.» - David
> >> Farning
> >
> >
>
>
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20091021/da3b3267/attachment-0001.htm 


More information about the Sugar-devel mailing list