[Sugar-devel] Sugarizing an application

Tomeu Vizoso tomeu at sugarlabs.org
Wed Oct 21 08:26:39 EDT 2009


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


More information about the Sugar-devel mailing list