Re: [Sugar-devel] Some questions about Sugar and Sugar Live Build

2020-11-13 Thread Martin Guy
>> At present the only available language option is EN-US but the
> Are you running F33 SOAS?

No, the Sugar Live Build, as yet fairly unmodified. Trisquel Sugar
Toast instead only presents English and Espanol if I remember
correctly, but making it available in all languages would increase its
diffusion.

I'll be looking at the other Sugar Lives to see how they handle it.

   M
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Some questions about Sugar and Sugar Live Build

2020-11-13 Thread James Cameron
On Fri, Nov 13, 2020 at 12:02:38PM +0100, Martin Guy wrote:
> Ah, of course, by clicking on the XO icon. Silly me.
> At present the only available language option is EN-US but the
> keyboard layouts are there.

I do not recall how the list is built by Sugar, but Debian and Ubuntu
split language support into separate packages.  Make sure the
appropriate packages are installed.  To find appropriate packages,
search the package archive for l10n (localisation)

sudo apt-cache search l10n

-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Some questions about Sugar and Sugar Live Build

2020-11-13 Thread Chihurumnaya Ibiam
On Fri, Nov 13, 2020 at 12:02 PM Martin Guy  wrote:

> Thanks to all, that's cleared up my confusion
>
> On 12/11/2020, Jui Pradhan  wrote:
> > The XO-color you choose is used to distinguish players for the activities
> > which include collaboration.
>
> OK. However I see that it chooses random colors initially in any case,
> so that should still work. What I'd like is for them to put the
> stick/CD in, turn it on and have it present the Home page rather than
> click-click-click every time. We shall see.
>

Sugar was designed that way but you can take that part out and select a
random colour for the user.


> >> * With a Live system, how does one change the language and
> >>   keyboard layout?
> >
> > Go to my Settings>Language to set the language preference.
>
> Ah, of course, by clicking on the XO icon. Silly me.
> At present the only available language option is EN-US but the
> keyboard layouts are there.
>
> > Make sure to restart your live build for the changes to apply.
> Mmm, that's unfortunate because it goes to the lightdm login box where
> the user hs no idea what the user/pass is, and even if they can guess
> "user" and it does have a password set, they have no way of knowing
> what it is! I Ctrl-Alt-F1, sudo passwd user, pass pass but I can't
> make them do that. I'll see if there's a better solution.
>

Are you running F33 SOAS?


> On 12/11/2020, James Cameron  wrote:
> > Give the settings keys a value and create the SSH owner key.
> >
> > On OLPC OS, based on Ubuntu, shell script /usr/bin/sugar detects UID
> > of 99, presence of /rofs, and username ubuntu, and responds by doing
> > this;
> >
> > gsettings set org.sugarlabs.user nick 'You'
> > ...
>
> All good stuff, thanks.
>
> > Otherwise prompt for it at boot.  Fedora SoaS, last I checked, does
> > this in the bootloader, passes the language choice as a kernel command
> > line, extracted from /proc/cmdline and stored in environment variable
> > LANG or file ~/.i18n
>
> > For OLPC XO laptops, LANG was stored
>
> Right, I'll look into those.
>
> Blessings
>
> M
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 

Ibiam Chihurumnaya
ibiamchihurumn...@gmail.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Some questions about Sugar and Sugar Live Build

2020-11-13 Thread Martin Guy
Thanks to all, that's cleared up my confusion

On 12/11/2020, Jui Pradhan  wrote:
> The XO-color you choose is used to distinguish players for the activities
> which include collaboration.

OK. However I see that it chooses random colors initially in any case,
so that should still work. What I'd like is for them to put the
stick/CD in, turn it on and have it present the Home page rather than
click-click-click every time. We shall see.

>> * With a Live system, how does one change the language and
>>   keyboard layout?
>
> Go to my Settings>Language to set the language preference.

Ah, of course, by clicking on the XO icon. Silly me.
At present the only available language option is EN-US but the
keyboard layouts are there.

> Make sure to restart your live build for the changes to apply.
Mmm, that's unfortunate because it goes to the lightdm login box where
the user hs no idea what the user/pass is, and even if they can guess
"user" and it does have a password set, they have no way of knowing
what it is! I Ctrl-Alt-F1, sudo passwd user, pass pass but I can't
make them do that. I'll see if there's a better solution.

On 12/11/2020, James Cameron  wrote:
> Give the settings keys a value and create the SSH owner key.
>
> On OLPC OS, based on Ubuntu, shell script /usr/bin/sugar detects UID
> of 99, presence of /rofs, and username ubuntu, and responds by doing
> this;
>
> gsettings set org.sugarlabs.user nick 'You'
> ...

All good stuff, thanks.

> Otherwise prompt for it at boot.  Fedora SoaS, last I checked, does
> this in the bootloader, passes the language choice as a kernel command
> line, extracted from /proc/cmdline and stored in environment variable
> LANG or file ~/.i18n

> For OLPC XO laptops, LANG was stored

Right, I'll look into those.

Blessings

M
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Some questions about Sugar and Sugar Live Build

2020-11-12 Thread Walter Bender
On Thu, Nov 12, 2020 at 9:04 AM Martin Guy  wrote:
>
> Hi all
>   I have a couple of questions about Sugar and SLB that I haven't
> managed to answer yet, so if anyone knows, that would be a boost for
> me.
>
> * What difference does it make if one selects a different age group
>   at the startup screen? Also, if it's "nothing" as it seems, where
>   would I look to change SLB to make it skip the color and age
>   selection screens?

The age parameter, if available, is used in some activities, e.g., the
bot in the Chat activity assumes the same age as the child. But it is
not widely used and wouldn't be missed.

The color can be overridden after the fact, so it is probably OK to
skip that too,

See https://github.com/sugarlabs/sugar/tree/master/src/jarabe/intro

>
> * With a Live system, how does one change the language and
>   keyboard layout? (One option for me is to produce a range of
>   language-specific ISOs, each configured during the build for
>   a different language/kdb pair)

Language selection is in the Control Panel.

See https://github.com/sugarlabs/sugar/tree/master/extensions/cpsection

There is also a keybaord section there, but I don't recall how it works.

>
> Thanks
>
>M
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Some questions about Sugar and Sugar Live Build

2020-11-12 Thread James Cameron
On Thu, Nov 12, 2020 at 02:04:01PM +, Martin Guy wrote:
> Hi all
>   I have a couple of questions about Sugar and SLB that I haven't
> managed to answer yet, so if anyone knows, that would be a boost for
> me.
> 
> * What difference does it make if one selects a different age group
>   at the startup screen?

One or two activities use the value to set starting conditions.  You
can find them by searching for the birth-timestamp settings key.  The
first one I found when searching is Speak.

> Also, if it's "nothing" as it seems, where would I look to change
> SLB to make it skip the color and age selection screens?

Give the settings keys a value and create the SSH owner key.

On OLPC OS, based on Ubuntu, shell script /usr/bin/sugar detects UID
of 99, presence of /rofs, and username ubuntu, and responds by doing
this;

gsettings set org.sugarlabs.user nick 'You'
gsettings set org.sugarlabs.user gender ''
gsettings set org.sugarlabs.user birth-timestamp 689659403
gsettings set org.sugarlabs.user group-label 'Adult'
gsettings set org.sugarlabs.user color '#808080,#c0c0c0'
gconftool-2 --set /desktop/sugar/user/color --type string '#808080,#c0c0c0'
gconftool-2 --set /desktop/sugar/user/nick --type string 'You'
ssh-keygen -q -t dsa -f .sugar/default/owner.key -C '' -N '' # 0.250 sec

> * With a Live system, how does one change the language and
>   keyboard layout?

For a live system, Sugar's My Settings should do a restart.
https://help.sugarlabs.org/en/my_settings.html

Otherwise prompt for it at boot.  Fedora SoaS, last I checked, does
this in the bootloader, passes the language choice as a kernel command
line, extracted from /proc/cmdline and stored in environment variable
LANG or file ~/.i18n (not sure which), and then /usr/bin/sugar shell
script uses it.

For OLPC XO laptops, LANG was stored as a firmware setting at point of
manufacture, and can be changed in the field.

-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Some questions about Sugar and Sugar Live Build

2020-11-12 Thread Jui Pradhan
Hi Martin,

On Thu, Nov 12, 2020 at 7:34 PM Martin Guy  wrote:

> Hi all
>   I have a couple of questions about Sugar and SLB that I haven't
> managed to answer yet, so if anyone knows, that would be a boost for
> me.
>
> * What difference does it make if one selects a different age group
>   at the startup screen? Also, if it's "nothing" as it seems, where
>   would I look to change SLB to make it skip the color and age
>   selection screens?
>

I'm not exactly sure how the age group makes a difference at the moment.
However, I don't think skipping the color selection screen is a good idea.
The XO-color you choose is used to distinguish players for the activities
which include collaboration.



> * With a Live system, how does one change the language and
>   keyboard layout? (One option for me is to produce a range of
>   language-specific ISOs, each configured during the build for
>   a different language/kdb pair)
>

Go to my Settings>Language to set the language preference. If a specific
activity does not have translations added for your preference one language,
it displays the text in your second language preference.
For the Keyboard: Settings>Keyboard you can choose your keyboard layouts
and add them using the `+` option. Make sure to restart your live build for
the changes to apply.


> Thanks
>
>M
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>

-- 
Jui Pradhan
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Some questions about Sugar and Sugar Live Build

2020-11-12 Thread Martin Guy
Hi all
  I have a couple of questions about Sugar and SLB that I haven't
managed to answer yet, so if anyone knows, that would be a boost for
me.

* What difference does it make if one selects a different age group
  at the startup screen? Also, if it's "nothing" as it seems, where
  would I look to change SLB to make it skip the color and age
  selection screens?

* With a Live system, how does one change the language and
  keyboard layout? (One option for me is to produce a range of
  language-specific ISOs, each configured during the build for
  a different language/kdb pair)

Thanks

   M
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel