Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu
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 Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel --- Raúl Gutiérrez Segalés +595 981 231 839 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu
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 Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel --- Raúl Gutiérrez Segalés +595 981 231 839 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO Camera
On Thursday 30 April 2009 19:48:08 Peter Robinson wrote: Hi Jon, Which kernel are you running? The kernel is the rawhide variant 2.6.29.1 from about a week ago. OK, that should rule out Hans's changes. In which case I'm totally mystified...not a whole lot else has happened with that driver for some time. I noticed the ov7670 and cafe_ccic drivers for the camera depend on i2c. Do the drivers depend on any of the OLPC specific i2c code that's not upstream that your aware of? Peter I've managed to resurrect my OLPC and got a developer key as well. Now all I need is some time to install the rawhide-xo image. Hopefully I can test it in 1-2 weeks. Note that I received a mail from a Saeed Bishara who noticed a bug in the cafe driver that should be fixed by this patch: --- cafe_ccic.c.orig2009-05-02 17:57:08.0 +0200 +++ cafe_ccic.c 2009-05-02 17:57:37.0 +0200 @@ -868,6 +868,7 @@ ret = __cafe_cam_reset(cam); if (ret) goto out; + chip.ident = V4L2_IDENT_NONE; chip.match.type = V4L2_CHIP_MATCH_I2C_ADDR; chip.match.addr = cam-sensor-addr; ret = __cafe_cam_cmd(cam, VIDIOC_DBG_G_CHIP_IDENT, chip); I think this will resolve this issue. Regards, Hans -- Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu
Thanks Tomeu for your suggestion. I think that will work for us in the interim and I'll have to investigate how time-consuming is to change the sugar code and build and sign our own image. 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. 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 Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel --- Ra�l Guti�rrez Segal�s +595 981 231 839 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu
-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- ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: from Peru, sugar in DEBIAN
On Sun, Apr 26, 2009 at 5:17 PM, OLPC Puno olpcp...@gmail.com wrote: My name is Sdenka from Puno Peru, since one month we are using Debian at Glorioso San Carlos High School in PERU. We installed the sugar and 10 activities including in Debian packages, then added ETOYS, SCRATCH AND LOGOTURTLE. I need the other activities' source code to compile in Debian to use and test them with teenagers students this year. Our goal is testing and then use Debian in elementary school which didn't receive LAPTOP XO, but like to use the wonderful activities FOR EDUCATION. Jonas Smedegaard is working on packaging Sugar activities for Debian, and would be one of your best resources. In order to help you most effectively, I would need to know something more about what you would like to do. You can compile and run Sugar activities in several different ways. If Sugar in jhbuild or in a virtual machine image will work for you, these resources will help. o http://wiki.sugarlabs.org/go/Development_Team/Jhbuild o http://wiki.laptop.org/go/Xo-get o http://wiki.sugarlabs.org/go/Sugar_on_a_Stick o http://wiki.sugarlabs.org/go/Image_files o http://wiki.sugarlabs.org/go/QEMU Any information you can give on results of compiling, or on packaging, or testing, will be very helpful. Thanks in advance for your reply, SDENKA ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Silent Thunder (默雷/धर्ममेघशब्दगर्ज/دھرممیگھشبدگر ج) is my name And Children are my nation. The Cosmos is my dwelling place, The Truth my destination. http://earthtreasury.org/worknet (Edward Mokurai Cherlin) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel