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

2018-04-19 Thread James Cameron
On Thu, Apr 19, 2018 at 08:26:27PM -0400, Adam Holt wrote:
> On Thu, Apr 19, 2018 at 8:17 PM, James Cameron <[1]qu...@laptop.org> wrote:
> 
> without deleting the identity
> key the activity collaboration feature will fail in strange ways.
> 
> What's the identity key, and how is it deleted?

A cryptographic identitifier of the Sugar user, randomly created at
first boot and stored in files;

.sugar/default/owner.key and
.sugar/default/owner.key.pub

Delete it using rm, as it says here;
http://wiki.laptop.org/go/Imaging/Side_effects

"Otherwise the cloned laptops won't be able to collaborate using activities, or 
the wrong names will be shown in Chat,"

-- 
James Cameron
http://quozl.netrek.org/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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

2018-04-19 Thread Adam Holt
On Thu, Apr 19, 2018 at 8:17 PM, James Cameron  wrote:

> without deleting the identity
> key the activity collaboration feature will fail in strange ways.
>

What's the identity key, and how is it deleted?
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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

2018-04-19 Thread James Cameron
Which things are truly important depend on the circumstances, and only
the teacher will know.  For instance, without deleting the identity
key the activity collaboration feature will fail in strange ways.

On Sun, Apr 15, 2018 at 07:07:09PM -0400, Adam Holt wrote:
> On Sun, Apr 15, 2018 at 6:58 PM, Adam Holt <[1]h...@laptop.org> wrote:
> 
> On Mon, Apr 9, 2018 at 11:54 PM, Tony Anderson <[2]tony_ander...@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 ?)
> 
> There are many similar suggestions here:
> 
>    [3]http://wiki.laptop.org/go/Imaging/Side_effects
> 
> Which of the above are truly important for a teacher to type in at the
> beginning of the semester, to clean out Sugar on an XO.
> 
> Teachers much prefer something very short like "rm -rf /home/olpc/.sugar"
> (unless there's a better way?)
> 
> PS Naturally Gnome is not as easy to clean out, if students have left MP3's 
> and
> personal files lying around!
> 
> References:
> 
> [1] mailto:h...@laptop.org
> [2] mailto:tony_ander...@usa.net
> [3] http://wiki.laptop.org/go/Imaging/Side_effects

> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel


-- 
James Cameron
http://quozl.netrek.org/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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

2018-04-19 Thread James Cameron
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_ander...@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_ander...@usa.net

> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel


-- 
James Cameron
http://quozl.netrek.org/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel