Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-27 Thread roshan karki
I agree with Martin. Having a configurable list of 'core' activities that
the UI won't offer 'erase'.

On Fri, May 22, 2009 at 2:36 PM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Mon, May 4, 2009 at 3:56 PM, Tomeu Vizoso to...@sugarlabs.org wrote:
  Yeah, we made easy deleting activities, including Browse, because we
  thought we had made easy enough to update them.

 Yes. And also, because it's very easy to install new activities.

 People patching Sugar to remove 'erase' are changing one problem for
 another. When children discover how to install activities, they'll
 install *a lot of them* and fill up their storage space (it's happened
 a lot in Uruguay). The solution is to show them how to delete them, so
 you don't want to disable it :-)

 The right solution may be in having a configurable list of 'core'
 activities that the UI won't offer 'erase' for. Browse.xo belongs
 there surely.

 cheers,


 m
 --
  martin.langh...@gmail.com
  mar...@laptop.org -- School Server Architect
  - ask interesting questions
  - don't get distracted with shiny stuff  - working code first
  - http://wiki.laptop.org/go/User:Martinlanghoff
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

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


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-22 Thread Martin Langhoff
On Mon, May 4, 2009 at 3:56 PM, Tomeu Vizoso to...@sugarlabs.org wrote:
 Yeah, we made easy deleting activities, including Browse, because we
 thought we had made easy enough to update them.

Yes. And also, because it's very easy to install new activities.

People patching Sugar to remove 'erase' are changing one problem for
another. When children discover how to install activities, they'll
install *a lot of them* and fill up their storage space (it's happened
a lot in Uruguay). The solution is to show them how to delete them, so
you don't want to disable it :-)

The right solution may be in having a configurable list of 'core'
activities that the UI won't offer 'erase' for. Browse.xo belongs
there surely.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-04 Thread Tomeu Vizoso
On Mon, May 4, 2009 at 06:26, Benjamin M. Schwartz
bmsch...@fas.harvard.edu wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 nout...@paiwastoon.com.af wrote:
 After
 our first deployment here in Afghanistan, we had to reinstall a lot of
 laptops because students accidentally deleted most of their activities.

 I think this is a great example of why we need to make a no-regressions
 XO-1 build with 0.84.  Among its many new features, 0.84 adds direct file
 transfer capability, which means that if you delete an activity, you can
 easily have a friend send it to you over the network.

and with 0.86, and 0.88, ... ;)

I know that Martin Dengler, Chris, Sebastian and Paul are working on
some of what is required in their free time, but lots of help is still
required. I'm particularly concerned about the kernel bits that aren't
upstreamed yet.

Also, pushing the mesh stuff into NM upstream should be quite low
hanging fruit, anybody is willing to take this task? Sjoerd has a
patch that is almost approved by Dan Williams, shouldn't take much
finishing this up.

In the meantime, if deployers of 0.82 like Paraguay, Uruguay,
Afghanistan and Nepal wish to join forces and do a 8.2.2 build with
the biggest deficiencies fixed, it may benefit a lot without much fuss
being involved.

Regards,

Tomeu

 It is abundantly clear that OLPC is not going to do this work for us.

 - --Ben
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.11 (GNU/Linux)

 iEYEARECAAYFAkn+blsACgkQUJT6e6HFtqRWDQCfQP3J5gyNA8KXg3ea2wTb0Ll9
 4sQAniO2WPqjD6s3UpyB23h/g0RyHQZQ
 =1OXc
 -END PGP SIGNATURE-
 ___
 Devel mailing list
 de...@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

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


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-04 Thread Daniel Drake
2009/5/4  nout...@paiwastoon.com.af:
 I basically don't want students to be able to erase any activities. After
 our first deployment here in Afghanistan, we had to reinstall a lot of
 laptops because students accidentally deleted most of their activities.

We see this lots in Paraguay too.
We have solved it here by:
1. Using a .xo bundle to install /home/olpc/Activities/.groups
pointing to http://schoolserver/activities
see http://wiki.laptop.org/go/Software_update#Activity_groups
2. Importing all the activities into the XS activity server
see http://wiki.laptop.org/go/XS-activity-server
3. Improving the in-school behaviour of the activity updater
see http://dev.laptop.org/ticket/9259

Then when the children delete activities, restoring them is just a few
clicks...run the activity updater from the control panel and let it do
it's thing. It is working well so far.

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


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-03 Thread Tomeu Vizoso
[adding sugar-devel to cc]

On Sun, May 3, 2009 at 11:32,  nout...@paiwastoon.com.af wrote:
 Greetings all,

 I am new to the whole OLPC thing so please bear with me. We are using the
 standard build to install XOs and then use shell scripts for the
 localization and to make small changes.

 I need to remove the 'Erase' option from the right click menu (when you
 right click on an activity icon). Is there anyway that this can be done
 without modifying the sugar source code and creating a new build?

Hi Basir,

I don't see a way to remove the palette option without changing the
Sugar code, but if you change the file permissions so that the user
'olpc' cannot remove the activity directory, the erasing operation
will fail and the activity will remain installed. Note that this will
cause activity updates to fail, in case that's an issue for you.

sudo chown root.root -R ~/Activities/Write.activity

This command will make that Write is not erasable from the Sugar palette.

Please note that the most appropriate forum to direct these questions
is sugar-devel: http://lists.sugarlabs.org/listinfo/sugar-devel .

HTH,

Tomeu

 Thanks
 Basir

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

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


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-03 Thread Raúl Gutiérrez Segalés
This is a recurrent problem. Perhaps we should have an option in the
control panel to enable/disable the showing of the Erase option for
activities or make moving the Erase option a few more clicks away (perhaps
inside the control panel, the activity updater widget/code might be
reusable).

Basir: is your motivation based on establishing a policy of having some
activities not erased or because users accidentally remove activities
every once in a while (as we have experienced frequently in our deployment
in Paraguay) ?




On Dom, 3 de Mayo de 2009, 6:01 am, Tomeu Vizoso wrote:
 [adding sugar-devel to cc]

 On Sun, May 3, 2009 at 11:32,  nout...@paiwastoon.com.af wrote:
 Greetings all,

 I am new to the whole OLPC thing so please bear with me. We are using
 the
 standard build to install XOs and then use shell scripts for the
 localization and to make small changes.

 I need to remove the 'Erase' option from the right click menu (when you
 right click on an activity icon). Is there anyway that this can be done
 without modifying the sugar source code and creating a new build?

 Hi Basir,

 I don't see a way to remove the palette option without changing the
 Sugar code, but if you change the file permissions so that the user
 'olpc' cannot remove the activity directory, the erasing operation
 will fail and the activity will remain installed. Note that this will
 cause activity updates to fail, in case that's an issue for you.

 sudo chown root.root -R ~/Activities/Write.activity

 This command will make that Write is not erasable from the Sugar palette.

 Please note that the most appropriate forum to direct these questions
 is sugar-devel: http://lists.sugarlabs.org/listinfo/sugar-devel .

 HTH,

 Tomeu

 Thanks
 Basir

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

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



---
Raúl Gutiérrez Segalés
  +595 981 231 839

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


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-03 Thread Gary C Martin
On 3 May 2009, at 13:59, Raúl Gutiérrez Segalés wrote:

 This is a recurrent problem. Perhaps we should have an option in the
 control panel to enable/disable the showing of the Erase option for
 activities or make moving the Erase option a few more clicks away  
 (perhaps
 inside the control panel, the activity updater widget/code might be
 reusable).

For what it's worth; there has been some Sugar 0.86 design talk about  
moving activity management out of the favourites home view and into  
the Journal with a goal of having all activities installed  and  
available there as bundles for Journal management (and potentially for  
modification and even versioning). The home list view may keep some  
management features, but I doubt it's a good place, as there are  
reports that home list view is too similar to a Journal view and  
activity bundles are being erased accidently there as well.

Regards,
--Gary

 Basir: is your motivation based on establishing a policy of having  
 some
 activities not erased or because users accidentally remove activities
 every once in a while (as we have experienced frequently in our  
 deployment
 in Paraguay) ?




 On Dom, 3 de Mayo de 2009, 6:01 am, Tomeu Vizoso wrote:
 [adding sugar-devel to cc]

 On Sun, May 3, 2009 at 11:32,  nout...@paiwastoon.com.af wrote:
 Greetings all,

 I am new to the whole OLPC thing so please bear with me. We are  
 using
 the
 standard build to install XOs and then use shell scripts for the
 localization and to make small changes.

 I need to remove the 'Erase' option from the right click menu  
 (when you
 right click on an activity icon). Is there anyway that this can be  
 done
 without modifying the sugar source code and creating a new build?

 Hi Basir,

 I don't see a way to remove the palette option without changing the
 Sugar code, but if you change the file permissions so that the user
 'olpc' cannot remove the activity directory, the erasing operation
 will fail and the activity will remain installed. Note that this will
 cause activity updates to fail, in case that's an issue for you.

 sudo chown root.root -R ~/Activities/Write.activity

 This command will make that Write is not erasable from the Sugar  
 palette.

 Please note that the most appropriate forum to direct these questions
 is sugar-devel: http://lists.sugarlabs.org/listinfo/sugar-devel .

 HTH,

 Tomeu

 Thanks
 Basir

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

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



 ---
 Raúl Gutiérrez Segalés
  +595 981 231 839

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

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


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-03 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

nout...@paiwastoon.com.af wrote:
 After
 our first deployment here in Afghanistan, we had to reinstall a lot of
 laptops because students accidentally deleted most of their activities.

I think this is a great example of why we need to make a no-regressions
XO-1 build with 0.84.  Among its many new features, 0.84 adds direct file
transfer capability, which means that if you delete an activity, you can
easily have a friend send it to you over the network.

It is abundantly clear that OLPC is not going to do this work for us.

- --Ben
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkn+blsACgkQUJT6e6HFtqRWDQCfQP3J5gyNA8KXg3ea2wTb0Ll9
4sQAniO2WPqjD6s3UpyB23h/g0RyHQZQ
=1OXc
-END PGP SIGNATURE-
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel