[UKids] easiest way to automate install of a collection 12+ PDF's onto Sugar on XOs?

James Cameron quozl at laptop.org
Thu Apr 19 20:15:51 EDT 2018


OLPC OS on the XO is configured for ownership style "one laptop per
child".

If you always want to delete the child's Sugar name, you might either
change login scripts to delete it before starting, or assume a
default.  It simplifies getting started into a class.

e.g. in the OLPC OS 16.04 live build on the NL3, we have this in
/usr/bin/sugar;

    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'

On Sun, Apr 15, 2018 at 06:58:11PM -0400, Adam Holt wrote:
> On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson <[1]tony_anderson at usa.net>
> wrote:
> 
>     A teacher should never 'rm -rf /home/olpc/.sugar'. If the intent is to
>     remove the Journal because of space considerations, 'rm -rf /home/olpc/
>     sugar/datastore' is sufficient. After this command the XO needs to be
>     rebooted to create a new empty datastore.
> 
> 'rm -rf /home/olpc/sugar/datastore' is not sufficient to accomplish the
> required task (deleting the child's Sugar name).
> 
> 'rm /home/olpc/.sugar' is the only way we know.  (Unless there's a better
> approach ?)
> 
> References:
> 
> [1] mailto:tony_anderson at usa.net

> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel


-- 
James Cameron
http://quozl.netrek.org/


More information about the Devel mailing list