[Sugar-devel] Setup an Activity to added on Favorites ring
Hi, Envorionment: Sugar 0.107, Ubuntu 14. How is the right way to make a custom activity will be on Favorite ring, when it be in installed. Is there a configuration on activity.info or something anohter place to says, this activity should be present on favorite ring ? I know one way cuold be editing /home/olpc/.sugar/default/favorite_activities file, but i wonder if is there another way. Thanks. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [BROWSE] Issue on Webkit2 branch
Hi all, I'm testing Webkit2 branch, and found an issue [1], I added it on github. Thanks. [1]: https://github.com/sugarlabs/browse-activity/issues/30 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] External Display on Sugar
Hi Sam, I'm not sure if I'm understand this sentence: >>> So maybe you are limited to mirroring the displays? You means, the only option in Sugar is the mirroring display mode, is it right ? Thanks. On Mon, Mar 14, 2016 at 5:28 PM, Sam Parkinson wrote: > Hi Gustavo, > > On Tue, Mar 15, 2016 at 12:55 AM, Gustavo Duarte > wrote: > > Hi all, On Sugar 0.107 on Ubuntu running on a "standar'" laptop, when > connect an external monitor to HDMI port, the Desktop AREA is only ONE. One > part of the Desktop area is showed on a display laptop an other part is > showed on external monitor. I would like to have two Desktop areas, one to > be showed on laptop display and the other on external monitor. In Ubuntu, i > can achieve this setup running a command like: xrandr --output HDMI1 --auto > --right-of eDP1 When I run this command in Sugar, the external monitor turn > ON, but I have only one Desktop AREA. Is it possible configure Sugar to > have two desktop areas, when an external monitor is connected ? > > > The Sugar code deals with the window management, and doesn't have any > support for the idea that there could ever be 2 activities on the screen at > once. So maybe you are limited to mirroring the displays? > > Thanks, > Sam > > Thanks in advance. ___ > 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] Flash on Browse Activity - Ubuntu
Ahh, my mistake, i thought it was gtk2 based, since flash is working there. I understood that flash didn't work because, flash plugin is developed on GTK2 and Browse webkit based is developed on GTK3 ? So i wonder why Flash plugin works with Webkit2 and not with Webkit ? Regards. PS: Off course we are going to collaborate in the test, we'll report any bug found. On 03/14/2016 11:46 AM, Gonzalo Odiard wrote: Webkit2 is not a gtk2 version, is a version using webkit2 instead of webkit. The port is advanced, but not ready. If you plan use it, please help to test all the functionalities, and finish the port. Who is working on that is Sam Parkinson. Gonzalo On Mon, Mar 14, 2016 at 11:03 AM, Gustavo Duarte <mailto:gus.dua...@gmail.com>> wrote: Hi all, We installed GTK2 version (https://github.com/sugarlabs/browse-activity/tree/webkit2), flash works very well, we are testing and until now, all is going fine. Thanks. On 3/1/16 7:35 PM, James Cameron wrote: On Tue, Mar 01, 2016 at 07:26:53PM -0300, Gustavo Duarte wrote: If I'm understanding you well, the only way I have at this time, is try with Browse GTK2 version ? I couldn't begin to speculate. Sounds like an interesting challenge that would have no ongoing value moving forward. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org <mailto:Sugar-devel@lists.sugarlabs.org> http://lists.sugarlabs.org/listinfo/sugar-devel -- Gonzalo Odiard ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Flash on Browse Activity - Ubuntu
Hi all, We installed GTK2 version (https://github.com/sugarlabs/browse-activity/tree/webkit2), flash works very well, we are testing and until now, all is going fine. Thanks. On 3/1/16 7:35 PM, James Cameron wrote: On Tue, Mar 01, 2016 at 07:26:53PM -0300, Gustavo Duarte wrote: If I'm understanding you well, the only way I have at this time, is try with Browse GTK2 version ? I couldn't begin to speculate. Sounds like an interesting challenge that would have no ongoing value moving forward. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] External Display on Sugar
Hi all, On Sugar 0.107 on Ubuntu running on a "standar'" laptop, when connect an external monitor to HDMI port, the Desktop AREA is only ONE. One part of the Desktop area is showed on a display laptop an other part is showed on external monitor. I would like to have two Desktop areas, one to be showed on laptop display and the other on external monitor. In Ubuntu, i can achieve this setup running a command like: xrandr --output HDMI1 --auto --right-of eDP1 When I run this command in Sugar, the external monitor turn ON, but I have only one Desktop AREA. Is it possible configure Sugar to have two desktop areas, when an external monitor is connected ? Thanks in advance. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Flash on Browse Activity - Ubuntu
Thanks Guys!! for your comments. If I'm understanding you well, the only way I have at this time, is try with Browse GTK2 version ? I'm right ? Thanks. On 03/01/2016 06:48 PM, James Cameron wrote: Yes, only in WebKit2. Original poster is asking about current Browse. On Tue, Mar 01, 2016 at 08:39:57PM +, Sam P. wrote: Hi James, WebKitGtk+ actually has work arounds to allows for GTK2 plugins to run in the Gtk3 webkit. See the webkitgtk front page: Since adding support for WebKit2, it’s possible to build applications that use the web platform with increased security and responsiveness. The web is a jungle, but web pages cannot crash the main application or freeze the UI. WebKitGTK+ also uses process separation to **seamlessly support GTK+2 plugins (like Flash) in GTK+3 applications.** Maybe this is only in WebKit2? Please see if the flash plugin works within GNOME Web (Epiphany), which uses WebKit2. Alternatively, you could test the "webkit2" branch of browse activity. Thanks, Sam On Wed, Mar 2, 2016 at 7:29 AM James Cameron <[1]qu...@laptop.org> wrote: Adobe's plugin links against GTK2, but Browse is GTK3. GTK2 and GTK3 cannot be mixed in the same process; the symbols are not versioned. So the problem is that Browse is "too new", and the Adobe plugin has not kept pace with the GTK2 to GTK3 move. You should approach Adobe for a custom build to meet your needs. -- James Cameron [2]http://quozl.netrek.org/ ___ Sugar-devel mailing list [3]Sugar-devel@lists.sugarlabs.org [4]http://lists.sugarlabs.org/listinfo/sugar-devel References: [1] mailto:qu...@laptop.org [2] http://quozl.netrek.org/ [3] mailto:Sugar-devel@lists.sugarlabs.org [4] http://lists.sugarlabs.org/listinfo/sugar-devel ___ 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] Flash on Browse Activity - Ubuntu
Hi Sebastian, I understand your point regarding run Flash on XOs, but in my case, I want run Flash content on standard PCs, with Sugar in Ubuntu 14.04. If mostly Browser are supporting Flash, like Firefox, Chrome and Epiphany, why Browse Activity, not ? Browse is based on Webkit (Chrome and Safari also) and Webkit support Flash. So my guess is that Browse Activity isn't detecting the Flash plugin installed on the system. I don't why, until now, may be a Path searching problem. I'm trying to debug. Regards. On Tue, Mar 1, 2016 at 12:06 PM, Sebastian Silva wrote: > Gustavo, > > It's been four years already that Adobe dropped support for Linux [1]. Yes > there are workarounds on "life support". Some distros, even google, > maintain some kind of solution. Maybe even OLPC can help you. But really, I > invite you to think this thru. > > I have seen many times XO deployers wanting to put a checkmark on "flash > support" and they often do it. In practice, have you tried Flash on an XO? > It's practically worthless. So you need to decide if you want to provide > the best user experience or rather put a checkmark on "flash support". > > If you have specific contents you own you *could *try to sugarize your > swf with a wrapper that somebody made. I've seen this work, but if I were > you I think efforts rewriting in an open format are better spent [because > they can be reused]. > > Regards, > Sebastian > > [1] http://www.tuxgarage.com/2012/02/adobe-drops-support-of-flash-for.html > > On 01/03/16 09:06, Gustavo Duarte wrote: > > Hi, > > Mmmm on Linux Firefox, Chrome and Epiphany has support for flash, i > tested and working well. > > And Ubuntu, has a package flashplugin-installer. > > I guess, Browse activity, isn't detecting this plugin. > > Thoughts ? > > > -- > I+D SomosAzucar.Org > "icarito" #somosazucar en Freenode IRC > "Nadie libera a nadie, nadie se libera solo. Los seres humanos se liberan en > comunión" - P. Freire > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Flash on Browse Activity - Ubuntu
Hi, Mmmm on Linux Firefox, Chrome and Epiphany has support for flash, i tested and working well. And Ubuntu, has a package flashplugin-installer. I guess, Browse activity, isn't detecting this plugin. Thoughts ? On Tue, Mar 1, 2016 at 10:59 AM, Sebastian Silva wrote: > Not even Adobe supports flash on Linux. > > > On 01/03/16 07:40, Gustavo Duarte wrote: > > Hi all, > > I wonder if Browse Activity (v 157.2), running on Sugar 0.107 on Ubuntu > 14.04 supports Flash ? > > How is the procedure to configure or enable Flash on it ? > > > Thanks in advance. > > Gustavo Duarte. > > > > > > ___ > Sugar-devel mailing > listSugar-devel@lists.sugarlabs.orghttp://lists.sugarlabs.org/listinfo/sugar-devel > > > -- > I+D SomosAzucar.Org > "icarito" #somosazucar en Freenode IRC > "Nadie libera a nadie, nadie se libera solo. Los seres humanos se liberan en > comunión" - P. Freire > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Flash on Browse Activity - Ubuntu
Hi all, I wonder if Browse Activity (v 157.2), running on Sugar 0.107 on Ubuntu 14.04 supports Flash ? How is the procedure to configure or enable Flash on it ? Thanks in advance. Gustavo Duarte. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Write Activity Check Spelling problem
Hi everyone, I'm using Write Activity on Sugar 0.107 in Ubuntu 14.04. The version of Write is 97. I need enable the spell check and dictionary suggestion, so i did the follow: 1) Comment the line: on keybindings.xml file 2) I installed aspell, aspell-es, and enchant. After that, the check spelling is working (red under lines are appears on misspelling words) and if I press right click, the dictionary suggestions are showed. But only work the first time that file is open. If I close this file and open again, the red undelines aren't showed again. If I delete the file from Journal, and open Wirte Activity, the red lines ara shoed again. Any ideas, about that ? Thanks . Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Sugar on Ubuntu 14.04
That's clear. Thank you very much ! On Tue, Dec 15, 2015 at 7:36 PM, James Cameron wrote: > On Tue, Dec 15, 2015 at 10:25:00AM -0300, Gustavo Duarte wrote: > > I'v noticed that Sugar for Ubuntu 14.04 only is available for amd64 > > archs. > > Yes, for Sugar 0.106 and Sugar 0.107. This was by Martin Abente, > Gonzalo Odiard, and myself, working for OLPC. > > The package archive is on http://dev.laptop.org/pub/us > > > This changed some days ago: > > https://wiki.sugarlabs.org/index.php?title=Ubuntu&diff=96266&oldid=96174 > . > > The change was because people made mistake, and thought that i386 > was available, but it was not. Sorry for not making change earlier. > > > What happens with the support for i386 archs ? > > There was no support built for i386 by OLPC. > > Older Sugar 0.98 is available for i386 from Ubuntu, but it does not > work very well. > > > Are you planning support i386, in the future, when ? > > I am not planning support. OLPC is supporting amd64 only for Ubuntu > and Sugar. Happy to do i386 for a fee, of course. > > Without fee, I'll be happy to review any patches you make. > > > Where can i find the older version of Sugar for Ubuntu 14.04/i386 ? > > http://packages.ubuntu.com/search?keywords=sucrose > > But it does not work very well. > > > Thanks in advance. > > Hope that helps! > > > Gustavo. > > -- > James Cameron > http://quozl.netrek.org/ > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Sugar on Ubuntu 14.04
Hi all, I'v noticed that Sugar for Ubuntu 14.04 only is available for amd64 archs. This changed some days ago: https://wiki.sugarlabs.org/index.php?title=Ubuntu&diff=96266&oldid=96174. What happens with the support for i386 archs ? Are you planning support i386, in the future, when ? Where can i find the older version of Sugar for Ubuntu 14.04/i386 ? Thanks in advance. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] VM for building an ARM image
Gonzalo, The branch 5.0 of Geogebra include 3D grahpics, and has references to several jars architectures dependent, like: gluegen-rt-natives-linux-amd64.jar gluegen-rt-natives-linux-i586.jar javagiac-linux32.jar javagiac-linux64.jar jogl.all-natives-linux-amd64.jar jogl.all-natives-linux-i586.jar For this reason, the building is needed. Regards. Gustavo On Thu, Jun 25, 2015 at 9:55 AM, Gonzalo Odiard wrote: > Geogebra is Java, you probably don't need build anything. > The "Portable" bundle you link is a huge package that include > the jre for i686, x86_64 and the geogebra jars. > To use in the XOs, have more sense include the jre in the image, > and prepare a .xo just with the geogebra jars. > If not, would be better prepare different versions for every platform, > the jre is too big. > > Gonzalo > > On Thu, Jun 25, 2015 at 9:33 AM, Gustavo Duarte > wrote: >> >> Thanks James ! >> >> I'll try with these options, QEMU setup and on a XO4 with F18 >> (particularly, thanks for the tips, choice f18 instead f20). >> >> The goal of this work is build the latest portable version of Geogebra >> [1] on ARM arch, (isn't portable enough :( ). >> >> I'll let you know the results. >> >> Thank you very much. >> >> Gustavo >> >> >> >> >> References: >> >> [1]http://www.geogebra.org/download/index.php?os=linux&portable=true >> >> On Thu, Jun 25, 2015 at 1:03 AM, James Cameron wrote: >> > I've tested building with QEMU emulation, with BeagleBone Black >> > hardware, and with XO-4 hardware, and the XO-4 hardware is the >> > fastest of the three. >> > >> > An ARM development system with more memory, faster cores, and SATA >> > disk interface, will perform better. >> > >> > We still use Fedora 18 to build Fedora 20 on the XO-4, >> > because of unsolved problem http://dev.laptop.org/ticket/12837 >> > >> > Instructions for setting up Fedora 20 on QEMU emulator can be found at >> > >> > https://fedoraproject.org/wiki/Architectures/ARM/F20/Installation#For_Versatile_Express_Emulation_with_QEMU >> > >> > Thanks for the pointer to: >> > >> > https://olpcau.atlassian.net/wiki/plugins/servlet/mobile#content/view/28016655 >> > >> > I was not aware of it. It is so sad that teams doing building have >> > not shared their work with OLPC and the Sugar Labs community. Please >> > do share your work! >> > >> > On Thu, Jun 25, 2015 at 12:44:32AM -0300, Gustavo Duarte wrote: >> >> Hey guys, >> >> >> >> I woluld like to know what is the best emulator setup to get a VM for >> >> builing >> >> like Martin describes here >> >> [1]https://www.google.com.uy/url?sa=t&source=web&; >> >> >> >> rct=j&ei=D3aLVaP8Norz-QGik66wCw&url=https://olpcau.atlassian.net/wiki/plugins/ >> >> servlet/mobile%23content/view/28016655&ved=0CDEQFjAG&usg= >> >> AFQjCNEtmb1dzOR4yP2EQxM57cUcTqcIiQ&sig2=MhGjEzmJAC9zdhdkWICe1A >> >> >> >> Thanks in advance. >> >> Gustavo >> >> >> >> References: >> >> >> >> [1] >> >> https://www.google.com.uy/url?sa=t&source=web&rct=j&ei=D3aLVaP8Norz-QGik66wCw&url=https://olpcau.atlassian.net/wiki/plugins/servlet/mobile%23content/view/28016655&ved=0CDEQFjAG&usg=AFQjCNEtmb1dzOR4yP2EQxM57cUcTqcIiQ&sig2=MhGjEzmJAC9zdhdkWICe1A >> > >> >> ___ >> >> Sugar-devel mailing list >> >> Sugar-devel@lists.sugarlabs.org >> >> http://lists.sugarlabs.org/listinfo/sugar-devel >> > >> > >> > -- >> > James Cameron >> > http://quozl.linux.org.au/ >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel > > > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] VM for building an ARM image
Thanks James ! I'll try with these options, QEMU setup and on a XO4 with F18 (particularly, thanks for the tips, choice f18 instead f20). The goal of this work is build the latest portable version of Geogebra [1] on ARM arch, (isn't portable enough :( ). I'll let you know the results. Thank you very much. Gustavo References: [1]http://www.geogebra.org/download/index.php?os=linux&portable=true On Thu, Jun 25, 2015 at 1:03 AM, James Cameron wrote: > I've tested building with QEMU emulation, with BeagleBone Black > hardware, and with XO-4 hardware, and the XO-4 hardware is the > fastest of the three. > > An ARM development system with more memory, faster cores, and SATA > disk interface, will perform better. > > We still use Fedora 18 to build Fedora 20 on the XO-4, > because of unsolved problem http://dev.laptop.org/ticket/12837 > > Instructions for setting up Fedora 20 on QEMU emulator can be found at > https://fedoraproject.org/wiki/Architectures/ARM/F20/Installation#For_Versatile_Express_Emulation_with_QEMU > > Thanks for the pointer to: > https://olpcau.atlassian.net/wiki/plugins/servlet/mobile#content/view/28016655 > > I was not aware of it. It is so sad that teams doing building have > not shared their work with OLPC and the Sugar Labs community. Please > do share your work! > > On Thu, Jun 25, 2015 at 12:44:32AM -0300, Gustavo Duarte wrote: >> Hey guys, >> >> I woluld like to know what is the best emulator setup to get a VM for builing >> like Martin describes here [1]https://www.google.com.uy/url?sa=t&source=web&; >> rct=j&ei=D3aLVaP8Norz-QGik66wCw&url=https://olpcau.atlassian.net/wiki/plugins/ >> servlet/mobile%23content/view/28016655&ved=0CDEQFjAG&usg= >> AFQjCNEtmb1dzOR4yP2EQxM57cUcTqcIiQ&sig2=MhGjEzmJAC9zdhdkWICe1A >> >> Thanks in advance. >> Gustavo >> >> References: >> >> [1] >> https://www.google.com.uy/url?sa=t&source=web&rct=j&ei=D3aLVaP8Norz-QGik66wCw&url=https://olpcau.atlassian.net/wiki/plugins/servlet/mobile%23content/view/28016655&ved=0CDEQFjAG&usg=AFQjCNEtmb1dzOR4yP2EQxM57cUcTqcIiQ&sig2=MhGjEzmJAC9zdhdkWICe1A > >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel > > > -- > James Cameron > http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] VM for building an ARM image
Hey guys, I woluld like to know what is the best emulator setup to get a VM for builing like Martin describes here https://www.google.com.uy/url?sa=t&source=web&rct=j&ei=D3aLVaP8Norz-QGik66wCw&url=https://olpcau.atlassian.net/wiki/plugins/servlet/mobile%23content/view/28016655&ved=0CDEQFjAG&usg=AFQjCNEtmb1dzOR4yP2EQxM57cUcTqcIiQ&sig2=MhGjEzmJAC9zdhdkWICe1A Thanks in advance. Gustavo ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] libflashplayer.so and WebCam issue
Hey James, I agree with you that the way should be achieve HTML5 support. I expect it be done soon. Than you very much. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] libflashplayer.so and WebCam issue
Hi James, I did the tests on a XO4 with 1G ram and F18, and the behaviour is the same, the webcam shows bright pixels purple. I guess i understanding your points, just to confirm, so my problem now is that the flashplugin isn't working properly ? I agree with you, flashplugin isn't a good choice, but unfortunately the only option for this kind of web sites that children really likes. So the only one thing to do, is try to fix the flashplugin ? Thanks Gustavo. On Thu, Jun 11, 2015 at 5:12 AM, James Cameron wrote: > Thanks for the testing. I've done some more testing. > > Your new problem where bright pixels are shown as purple: > > - only occurs with Flash plugin, so it is unique to the plugin, > > - also occurs with Firefox, so it is not a Sugar Browse problem, > > - also occurs with the ov7670 camera, so it is independent of camera, > > - also occurs with Fedora 18, > > - also occurs with and without vMeta and OpenGL support. > > The root cause may be a mistake in data conversion of RGB pixel data; > or the alignment of bit fields. > > I recommend not using Flash plugin. It is out of date and has known > security vulnerabilities that will place users at risk. > > > Yesterday's Fedora 20 kernel with the siv121c RGB support fix is the > same kernel to use on Fedora 18, and can be found in our Fedora 18 > rpmdropbox directory: > > http://rpmdropbox.laptop.org/f18-xo4/kernel-devel-3.5.7_xo4-20150610.0359.olpc.97336f6.armv7hl.rpm > > To use this kernel on Fedora 18, the firmware must be Q7C05, because > the kernel is configured for dual core. > > Hope that helps! > > On Wed, Jun 10, 2015 at 09:57:39AM -0300, Gustavo Duarte wrote: >> Hi James, >> >> I replaced the kernel, and after that: >> >> 1) The gst-launch test worked properly, in both cases, so RGB now is >> supported >> 2) Record Activity, still working fine >> 3) flashplugin, although it works better still is showing an ugly >> image, as you can see >> >> https://goo.gl/photos/7JuQta6hJwm4iDjr5 >> >> Any thoughts ? >> >> On the other hands, we have XO4 1G models with Fedora 18, with the >> same problem, is there kernel fixed for these ? >> >> Thanks >> >> >> >> On Wed, Jun 10, 2015 at 1:44 AM, James Cameron wrote: >> > On Tue, Jun 09, 2015 at 10:48:32AM -0300, Gustavo Duarte wrote: >> >> 1) The camera is siv121c >> >> 2) Doing the gst-launch tests, both cases works like you mention >> >> 3) Record Activity work fine. >> >> 4) Fedora version is F20 >> >> 5) Kernel version is 3.5.7_xo4-20150205.0332.olpc.8a4cfb6 >> > >> > Good data, thanks. >> > >> >> So if i understood well, my problem is, flashplugin is expected RBG >> >> video but the driver is giving YUV video signal, is something like >> >> that ? >> > >> > Yes. >> > >> >> Is there some fix or workaround for this ? >> > >> > I hope so. >> > >> > Please test this kernel: >> > >> > http://rpmdropbox.laptop.org/f20-xo4/kernel-3.5.7_xo4-20150610.0359.olpc.97336f6.armv7hl.rpm >> > >> > Please also do a side by side test between two laptops, showing the >> > same scene for the camera. >> > >> > In this new kernel the siv121c driver has been changed to support RGB >> > format. Both gst-launch test cases work properly without green pixel >> > corrupt data. >> > >> > The source code changes are in the arm-3.5 branch of the olpc-kernel >> > git repository: >> > >> > http://dev.laptop.org/git/olpc-kernel/log/?h=arm-3.5 >> > >> > (Kernels for XO-1.75 and XO-1 are to follow, for where the camera is >> > used as a spare part. The camera is not compatible with XO-1.5.) >> > >> > -- >> > James Cameron >> > http://quozl.linux.org.au/ > > -- > James Cameron > http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] libflashplayer.so and WebCam issue
Hi James, I replaced the kernel, and after that: 1) The gst-launch test worked properly, in both cases, so RGB now is supported 2) Record Activity, still working fine 3) flashplugin, although it works better still is showing an ugly image, as you can see https://goo.gl/photos/7JuQta6hJwm4iDjr5 Any thoughts ? On the other hands, we have XO4 1G models with Fedora 18, with the same problem, is there kernel fixed for these ? Thanks On Wed, Jun 10, 2015 at 1:44 AM, James Cameron wrote: > On Tue, Jun 09, 2015 at 10:48:32AM -0300, Gustavo Duarte wrote: >> 1) The camera is siv121c >> 2) Doing the gst-launch tests, both cases works like you mention >> 3) Record Activity work fine. >> 4) Fedora version is F20 >> 5) Kernel version is 3.5.7_xo4-20150205.0332.olpc.8a4cfb6 > > Good data, thanks. > >> So if i understood well, my problem is, flashplugin is expected RBG >> video but the driver is giving YUV video signal, is something like >> that ? > > Yes. > >> Is there some fix or workaround for this ? > > I hope so. > > Please test this kernel: > > http://rpmdropbox.laptop.org/f20-xo4/kernel-3.5.7_xo4-20150610.0359.olpc.97336f6.armv7hl.rpm > > Please also do a side by side test between two laptops, showing the > same scene for the camera. > > In this new kernel the siv121c driver has been changed to support RGB > format. Both gst-launch test cases work properly without green pixel > corrupt data. > > The source code changes are in the arm-3.5 branch of the olpc-kernel > git repository: > > http://dev.laptop.org/git/olpc-kernel/log/?h=arm-3.5 > > (Kernels for XO-1.75 and XO-1 are to follow, for where the camera is > used as a spare part. The camera is not compatible with XO-1.5.) > > -- > James Cameron > http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] libflashplayer.so and WebCam issue
Hey James, Thanks you very much for you detailed and clear explanation of what is happening. I checked your points: 1) The camera is siv121c 2) Doing the gst-launch tests, both cases works like you mention 3) Record Activity work fine. 4) Fedora version is F20 5) Kernel version is 3.5.7_xo4-20150205.0332.olpc.8a4cfb6 So if i understood well, my problem is, flashplugin is expected RBG video but the driver is giving YUV video signal, is something like that ? Is there some fix or workaround for this ? Thanks in advance Gustavo. On Tue, Jun 9, 2015 at 5:16 AM, James Cameron wrote: > On Mon, Jun 08, 2015 at 07:39:51PM -0300, Gustavo Duarte wrote: >> Hi guys, >> >> I'm having troubles using the webcam of a XO 4.0 with sugar 0.104.0 > > There is XO-4, but no XO-4.0. > >> The problem happens when i want use the webcam on sites like >> http://webcamtoy.com/es or http://webcamoio.com/es, these kind of >> sites use plugin video flash player for access to the XO resources, >> webcam and mic. >> >> The image showed by the webcam is very ugly, as you can see on >> https://plus.google.com/102144018413535329430/posts/8otWagVC4JZ. > > Your image shows classic high quantity of green pixels, which happens > when a program expects RGB data but the camera supplies YUV data. > > It does not happen with the ov7670 camera. > > It does happen with the siv121c camera. > > You can check the camera in use by typing "lsmod" command, look for > ov7670, siv120d, siv121c, or siv121d. These kernel modules are for > different cameras used by XO laptops. > >> I wonder if the problem is on the flash driver or how the sites are >> using the plugins. > > Your problem is likely to be with either the Flash plugin, GStreamer, > or the kernel. It will have nothing to do with Sugar. > > You can isolate, or exclude, the Flash plugin and Sugar by using this > test at Terminal: > > $ gst-launch v4l2src ! video/x-raw-rgb ! xvimagesink > > When this test is run on an XO-4 with ov7670, no problem. > > When this test is run on an XO-4 with siv121c camera, lots of green > pixels and corrupt image. > > By removing the format request the problem can be avoided: > > $ gst-launch v4l2src ! xvimagesink > > The same sort of problem can also occur with broken cable or > connector. You can test the camera and cable using Open Firmware: > > ok test /camera:yuv > ok test /camera > >> I have understand that OLPC ask to Marvell the development of flash >> player, so there are something we can do to try this works ? >> >> Some configuration to change ? > > I don't know which camera you have, nor which version of Fedora, so I > cannot recommend any plan. > > When I wrote the kernel driver for siv121c about a year ago, the RGB > format feature did not work, and so it was left out. The driver does > not advertise RGB format. The driver was tested with Sugar's Record > activity and GStreamer. You can find the details in ticket #12785. > > -- > James Cameron > http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] libflashplayer.so and WebCam issue
Hi guys, I'm having troubles using the webcam of a XO 4.0 with sugar 0.104.0 The problem happens when i want use the webcam on sites like http://webcamtoy.com/es or http://webcamoio.com/es, these kind of sites use plugin video flash player for access to the XO resources, webcam and mic. The image showed by the webcam is very ugly, as you can see on https://plus.google.com/102144018413535329430/posts/8otWagVC4JZ. I wonder if the problem is on the flash driver or how the sites are using the plugins. I have understand that OLPC ask to Marvell the development of flash player, so there are something we can do to try this works ? Some configuration to change ? Thanks in advance. Gustavo ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Communication between two Activities
James, thank you very much, for your clear explanation. El 20/05/2015 20:07, "James Cameron" escribió: > On Wed, May 20, 2015 at 10:43:23AM -0300, Gustavo Duarte wrote: > > Notificator: There is a Sugar Activity who shows Notification messages > > for the kid. > > > > Daemon: There is an script running on cron, who get new notification > > from a Server. > > > > I need communicate the Daemon with the Notificator, so when Daemon > > receive a new notification from Server, it'll send a signal to > > Notificator. > > > > Notificator when receive the signal, should refresh a widget. > > > > I know a way to do that, using system signals, but i wonder if Sugar > > has another way to achieve that. > > What you describe is interprocess communication. > > Sugar uses several methods for communication with system daemons. > > The most frequently coded is D-Bus. > http://en.wikipedia.org/wiki/D-Bus > > Other methods in Python are > https://docs.python.org/2/library/ipc.html > > You can use files, as Gonzalo says, but try to place them in a path > that does not cause writes to disk; e.g. /tmp ... otherwise sometimes > the kernel will reschedule the process that is writing, and this can > slow performance. > > My preference for your scenario is signals: > > 1. Notificator calls os.getpid and writes to /tmp/notificator.pid > > 2. Notificator calls signal.signal to request a callback on SIGUSR1, > > 3. Daemon reads /tmp/notificator.pid and calls os.kill(pid, SIGUSR1), > kill(1), or kill(3) to send signal. > > An example here: > http://dev.laptop.org/git/projects/runin/tree/runin-gtk > > Signals become more complex if the communication is complex, and there > are a limited number of different signals. That's when I would > suggest D-Bus. > > -- > James Cameron > http://quozl.linux.org.au/ > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Communication between two Activities
Thanks Gonzalo. Because, the kind of messages to showing are html. On Wed, May 20, 2015 at 10:50 AM, Gonzalo Odiard wrote: > The notificator can write the notification to a file, > and the activity can use Gio.FileMonitor to know when the file was updated. > > Just for curiosity, why not use the Sugar notifications? > > Gonzalo > > On Wed, May 20, 2015 at 10:43 AM, Gustavo Duarte > wrote: >> >> Hi Gonzalo, >> >> Sure, I'll try explain the user case. >> >> Notificator: There is a Sugar Activity who shows Notification messages >> for the kid. >> >> Daemon: There is an script running on cron, who get new notification >> from a Server. >> >> I need communicate the Daemon with the Notificator, so when Daemon >> receive a new notification from Server, it'll send a signal to >> Notificator. >> >> Notificator when receive the signal, should refresh a widget. >> >> >> I know a way to do that, using system signals, but i wonder if Sugar >> has another way to achieve that. >> >> Thanks. >> >> >> >> >> >> >> >> >> >> >> On Wed, May 20, 2015 at 9:41 AM, Gonzalo Odiard >> wrote: >> > Hi Gustavo, >> > I think would help if you explain the specific use case. >> > The activity who will receive the message is a specific activity, >> > and you will send it from a script or service? >> > Can the activity just monitor a file or something like that? >> > >> > Gonzalo >> > >> > >> > On Wed, May 20, 2015 at 9:27 AM, Gustavo Duarte >> > wrote: >> >> >> >> Walter, >> >> >> >> There are two different activities, and the communication could be >> >> asynchronous. >> >> >> >> I not sure, if the the comment bellow, can confuse you, if yes, >> >> please forget that. >> >> >> >> The process who send the message, could be just a script, isn't >> >> needed it be an Activity. >> >> >> >> >> >> Thanks. >> >> >> >> >> >> >> >> >> >> >> >> On Wed, May 20, 2015 at 8:40 AM, Walter Bender >> >> >> >> wrote: >> >> > Gustavo, >> >> > >> >> > Are they two instances of the same activity or two different >> >> > activities? >> >> > Is >> >> > the communication synchronous or asynchronous? >> >> > >> >> > -walter >> >> > >> >> > On Wed, May 20, 2015 at 6:35 AM, Gustavo Duarte >> >> > >> >> > wrote: >> >> >> >> >> >> James, >> >> >> >> >> >> I should be more specific, sorry, in my case, the two Activities are >> >> >> on the same computer. >> >> >> >> >> >> Sam, >> >> >> >> >> >> Are a thread about this, already ? >> >> >> >> >> >> Thanks. >> >> >> >> >> >> Gustavo >> >> >> >> >> >> On Wed, May 20, 2015 at 6:46 AM, Sam P. >> >> >> wrote: >> >> >> > Hi James, >> >> >> > >> >> >> > Is this meant to be a reply to an existing thread? >> >> >> > >> >> >> > Thanks, >> >> >> > Sam >> >> >> > >> >> >> > On Wed, May 20, 2015 at 12:01 PM James Cameron >> >> >> > wrote: >> >> >> >> >> >> >> >> Are the two activities on: >> >> >> >> >> >> >> >> - separate computers, or >> >> >> >> >> >> >> >> - the same computer? >> >> >> >> >> >> >> >> If the two activities are on separate computers, do they have the >> >> >> >> same >> >> >> >> bundle id? >> >> >> >> >> >> >> >> If the two activities are on the same computer, do they share the >> >> >> >> same >> >> >> >> display? >> >> >> >> >> >> >> >> -- >> >> >> >> James Cameron >> >> >> >> http://quozl.linux.org.au/ >> >> >> >> ___ >> >> >> >> 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 >> >> >> > >> >> >> ___ >> >> >> 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 >> > >> > >> > >> > >> > -- >> > Gonzalo Odiard >> > >> > SugarLabs - Software for children learning >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel > > > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Communication between two Activities
Hi Gonzalo, Sure, I'll try explain the user case. Notificator: There is a Sugar Activity who shows Notification messages for the kid. Daemon: There is an script running on cron, who get new notification from a Server. I need communicate the Daemon with the Notificator, so when Daemon receive a new notification from Server, it'll send a signal to Notificator. Notificator when receive the signal, should refresh a widget. I know a way to do that, using system signals, but i wonder if Sugar has another way to achieve that. Thanks. On Wed, May 20, 2015 at 9:41 AM, Gonzalo Odiard wrote: > Hi Gustavo, > I think would help if you explain the specific use case. > The activity who will receive the message is a specific activity, > and you will send it from a script or service? > Can the activity just monitor a file or something like that? > > Gonzalo > > > On Wed, May 20, 2015 at 9:27 AM, Gustavo Duarte > wrote: >> >> Walter, >> >> There are two different activities, and the communication could be >> asynchronous. >> >> I not sure, if the the comment bellow, can confuse you, if yes, >> please forget that. >> >> The process who send the message, could be just a script, isn't >> needed it be an Activity. >> >> >> Thanks. >> >> >> >> >> >> On Wed, May 20, 2015 at 8:40 AM, Walter Bender >> wrote: >> > Gustavo, >> > >> > Are they two instances of the same activity or two different activities? >> > Is >> > the communication synchronous or asynchronous? >> > >> > -walter >> > >> > On Wed, May 20, 2015 at 6:35 AM, Gustavo Duarte >> > wrote: >> >> >> >> James, >> >> >> >> I should be more specific, sorry, in my case, the two Activities are >> >> on the same computer. >> >> >> >> Sam, >> >> >> >> Are a thread about this, already ? >> >> >> >> Thanks. >> >> >> >> Gustavo >> >> >> >> On Wed, May 20, 2015 at 6:46 AM, Sam P. >> >> wrote: >> >> > Hi James, >> >> > >> >> > Is this meant to be a reply to an existing thread? >> >> > >> >> > Thanks, >> >> > Sam >> >> > >> >> > On Wed, May 20, 2015 at 12:01 PM James Cameron >> >> > wrote: >> >> >> >> >> >> Are the two activities on: >> >> >> >> >> >> - separate computers, or >> >> >> >> >> >> - the same computer? >> >> >> >> >> >> If the two activities are on separate computers, do they have the >> >> >> same >> >> >> bundle id? >> >> >> >> >> >> If the two activities are on the same computer, do they share the >> >> >> same >> >> >> display? >> >> >> >> >> >> -- >> >> >> James Cameron >> >> >> http://quozl.linux.org.au/ >> >> >> ___ >> >> >> 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 >> >> > >> >> ___ >> >> 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 > > > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Communication between two Activities
Walter, There are two different activities, and the communication could be asynchronous. I not sure, if the the comment bellow, can confuse you, if yes, please forget that. The process who send the message, could be just a script, isn't needed it be an Activity. Thanks. On Wed, May 20, 2015 at 8:40 AM, Walter Bender wrote: > Gustavo, > > Are they two instances of the same activity or two different activities? Is > the communication synchronous or asynchronous? > > -walter > > On Wed, May 20, 2015 at 6:35 AM, Gustavo Duarte > wrote: >> >> James, >> >> I should be more specific, sorry, in my case, the two Activities are >> on the same computer. >> >> Sam, >> >> Are a thread about this, already ? >> >> Thanks. >> >> Gustavo >> >> On Wed, May 20, 2015 at 6:46 AM, Sam P. wrote: >> > Hi James, >> > >> > Is this meant to be a reply to an existing thread? >> > >> > Thanks, >> > Sam >> > >> > On Wed, May 20, 2015 at 12:01 PM James Cameron wrote: >> >> >> >> Are the two activities on: >> >> >> >> - separate computers, or >> >> >> >> - the same computer? >> >> >> >> If the two activities are on separate computers, do they have the same >> >> bundle id? >> >> >> >> If the two activities are on the same computer, do they share the same >> >> display? >> >> >> >> -- >> >> James Cameron >> >> http://quozl.linux.org.au/ >> >> ___ >> >> 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 >> > >> ___ >> 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] Communication between two Activities
James, I should be more specific, sorry, in my case, the two Activities are on the same computer. Sam, Are a thread about this, already ? Thanks. Gustavo On Wed, May 20, 2015 at 6:46 AM, Sam P. wrote: > Hi James, > > Is this meant to be a reply to an existing thread? > > Thanks, > Sam > > On Wed, May 20, 2015 at 12:01 PM James Cameron wrote: >> >> Are the two activities on: >> >> - separate computers, or >> >> - the same computer? >> >> If the two activities are on separate computers, do they have the same >> bundle id? >> >> If the two activities are on the same computer, do they share the same >> display? >> >> -- >> James Cameron >> http://quozl.linux.org.au/ >> ___ >> 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 > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Communication between two Activities
Hi guys, What is the best approach to communicate two activities ? For example, from one activity send a message to the other, when it is received, the activity should refresh a widget. >From dbus, my be ? Using precense service ? Thanks in advance. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Avoid an Activity appears on Ring or List View.
You are right ! On Tue, May 12, 2015 at 9:48 AM, Gonzalo Odiard wrote: > Then, you should backport the implementation. > > Gonzalo > > On Tue, May 12, 2015 at 9:39 AM, Gustavo Duarte > wrote: >> >> Exactly, this feature fit perfect with my requirements, however, i >> need execute this kind of activities on XO with older Sugar version. >> >> >> >> >> >> On Tue, May 12, 2015 at 8:34 AM, Sam P. wrote: >> > Hi, >> > >> > Maybe you are looking for the show_launcher option in the activity.info >> > file? >> > >> > That will hide it from the activity ring and list views in sugar >> > versions >> > with this commit [1]. I think that means 0.100+. >> > >> > Thanks, >> > Sam >> > >> > [1] >> > >> > https://github.com/sugarlabs/sugar/commit/f4638b5f481478e96195d55aa38c90fd33db9aee >> > >> > On Tue, May 12, 2015 at 4:57 AM Gustavo Duarte >> > wrote: >> >> >> >> Hi Guys, >> >> >> >> I need create an Activity witch doesn't appears on Ring view and List >> >> View. The idea is that Activity only could be executed from a >> >> terminal. >> >> >> >> That is it possible ? >> >> >> >> Thanks in advance. >> >> >> >> Gustavo. >> >> ___ >> >> 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 > > > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Avoid an Activity appears on Ring or List View.
Exactly, this feature fit perfect with my requirements, however, i need execute this kind of activities on XO with older Sugar version. On Tue, May 12, 2015 at 8:34 AM, Sam P. wrote: > Hi, > > Maybe you are looking for the show_launcher option in the activity.info > file? > > That will hide it from the activity ring and list views in sugar versions > with this commit [1]. I think that means 0.100+. > > Thanks, > Sam > > [1] > https://github.com/sugarlabs/sugar/commit/f4638b5f481478e96195d55aa38c90fd33db9aee > > On Tue, May 12, 2015 at 4:57 AM Gustavo Duarte wrote: >> >> Hi Guys, >> >> I need create an Activity witch doesn't appears on Ring view and List >> View. The idea is that Activity only could be executed from a >> terminal. >> >> That is it possible ? >> >> Thanks in advance. >> >> Gustavo. >> ___ >> 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] Avoid an Activity appears on Ring or List View.
I found a way something like that: export SUGAR_BUNDLE_PATH=/home/olpc/MyCustom.activity sugar-activity -a 1234567890 activity.MyCustom The only one detail missing, is the icon isn't appear on the frame. On Mon, May 11, 2015 at 11:33 PM, Gustavo Duarte wrote: > Hi Walter, thanks for your prompt answer, so i will reformulate my > question, how i can execute an Activity installed on a different path, > from a terminal ? > > Because, sugar-launch will fail if the activitiy isn't on the activity path. > > Gustavo. > > On Mon, May 11, 2015 at 4:01 PM, Walter Bender > wrote: >> If the activity is not in any of the activity paths it will not appear. >> Presumably from the Terminal you can excete the activity from somewhere >> else? >> >> -walter >> >> On Mon, May 11, 2015 at 2:57 PM, Gustavo Duarte >> wrote: >>> >>> Hi Guys, >>> >>> I need create an Activity witch doesn't appears on Ring view and List >>> View. The idea is that Activity only could be executed from a >>> terminal. >>> >>> That is it possible ? >>> >>> Thanks in advance. >>> >>> Gustavo. >>> ___ >>> 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] Avoid an Activity appears on Ring or List View.
Hi Walter, thanks for your prompt answer, so i will reformulate my question, how i can execute an Activity installed on a different path, from a terminal ? Because, sugar-launch will fail if the activitiy isn't on the activity path. Gustavo. On Mon, May 11, 2015 at 4:01 PM, Walter Bender wrote: > If the activity is not in any of the activity paths it will not appear. > Presumably from the Terminal you can excete the activity from somewhere > else? > > -walter > > On Mon, May 11, 2015 at 2:57 PM, Gustavo Duarte > wrote: >> >> Hi Guys, >> >> I need create an Activity witch doesn't appears on Ring view and List >> View. The idea is that Activity only could be executed from a >> terminal. >> >> That is it possible ? >> >> Thanks in advance. >> >> Gustavo. >> ___ >> 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
[Sugar-devel] Avoid an Activity appears on Ring or List View.
Hi Guys, I need create an Activity witch doesn't appears on Ring view and List View. The idea is that Activity only could be executed from a terminal. That is it possible ? Thanks in advance. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Sugar version from command line
greats!! James, thanks! On Fri, Mar 13, 2015 at 3:13 PM, James Cameron wrote: > On Fri, Mar 13, 2015 at 08:17:35AM -0300, Gustavo Duarte wrote: >> How can I know the Sugar version from command line ? > > python -c 'from jarabe import config ; print config.version' > > This is coded into Sugar, and may not be the same version as shown by > any distribution package manager. > > To get the package version is distribution specific, but on Fedora it > is > > rpm -q sugar > > and on Ubuntu it is > > dpkg-query -W --showformat='${Version}\n' python-sugar3 > > -- > James Cameron > http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Sugar version from command line
Hi guys, How can I know the Sugar version from command line ? Thanks in advance. Gustavo ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Launch an Activity from another activity.
Hey guys, I could figure out the solution. I called sugar-activity instead sugar-launch on the script, like following: export SUGAR_BUNDLE_PATH=/home/olpc/Activities/Browse.activity sugar-activity webactivity.WebActivity -u http://mysite.edu.uy -a $activity_id Thanks any way. Regards. On Wed, Mar 4, 2015 at 8:17 PM, Gustavo Duarte wrote: > Hi guys, > > I need create an activity bundle which launches Browser activity, on sugar > 0.104 > > > On previously Sugar versions we can create a bundle which execute an > script like this: > > #!/bin/sh > > while [ -n "$2" ] ; do > case "$1" in > -b | --bundle-id) bundle_id="$2" ;; > -a | --activity-id) activity_id="$2" ;; > -o | --object-id) object_id="$2" ;; > -u | --uri) uri="$2" ;; > *) echo unknown argument $1 $2 ;; > esac > shift;shift > done > > if [ -z "$bundle_id" -o -z "$activity_id" ] ; then > echo ERROR: bundle-id and activity-id arguments required > echo Aborting > exit 1 > fi > exec sugar-launch --uri "http://mysite.edu.uy"; org.laptop.WebActivity > > > But in 0.104, although it works, two activities are started, the > second one is the browser, and first one is once which never finished > to start. > > How is the right way to configure activity.info and the script to > launch another activity ? > > > Thanks in advance. > > > Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Launch an Activity from another activity.
Hi guys, I need create an activity bundle which launches Browser activity, on sugar 0.104 On previously Sugar versions we can create a bundle which execute an script like this: #!/bin/sh while [ -n "$2" ] ; do case "$1" in -b | --bundle-id) bundle_id="$2" ;; -a | --activity-id) activity_id="$2" ;; -o | --object-id) object_id="$2" ;; -u | --uri) uri="$2" ;; *) echo unknown argument $1 $2 ;; esac shift;shift done if [ -z "$bundle_id" -o -z "$activity_id" ] ; then echo ERROR: bundle-id and activity-id arguments required echo Aborting exit 1 fi exec sugar-launch --uri "http://mysite.edu.uy"; org.laptop.WebActivity But in 0.104, although it works, two activities are started, the second one is the browser, and first one is once which never finished to start. How is the right way to configure activity.info and the script to launch another activity ? Thanks in advance. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Image with F20 for XO 1.75
Hi guys, >From where can I download an image with F20 for XO 1.75 ? Thanks Gustavo ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Widget to show a notification message with a link
Just other info: I tried, add line "x-scheme-handler/http org.laptop.WebActivity " on /usr/share/sugar/data/mime.default on a XO 1.75 with Sugar 0.98 and the same results. URL Links are opened with Firefox. Seems x-scheme-handler mime types aren't well managed by Sugar. Regards. On Thu, Dec 11, 2014 at 10:56 AM, Gustavo Duarte wrote: > Hi Jerry, > > My mistake, i missed write down the line added on > /usr/share/sugar/data/mime.default file. > > I added exactly this line: > > x-scheme-handler/http org.laptop.WebActivity > > However after that, links were still opened with Firefox, I agree with > you, tat should be work, but i don't know why. > > > Any way, I found a workaround, adding the settings of > ~/.local/share/applications/mimeapps.list on sugar-session. For the right > setting when sugar is starting. > > And also added a script on /etc/lightdm/lightdm.conf to setting the right > ones for Gnome, when it is starting. > > Thanks. > > Gustavo. > > > > > On Wed, Dec 10, 2014 at 8:10 PM, Jerry Vonau wrote: > >> >> > On December 9, 2014 at 6:59 AM Gustavo Duarte >> > wrote: >> > >> > >> > I checked this file, and there are these entries, already, as is showed >> > bellow. >> > >> > text/html org.laptop.WebActivity >> > application/xhtml+xml org.laptop.WebActivity >> > application/xmlorg.laptop.WebActivity >> > >> > However, it doesn't work, Firefox is opened when I click on a link of >> > notification message. >> > >> >> Note that x-scheme-handler/http is not present, did you try adding: >> x-scheme-handler/http org.laptop.WebActivity >> to mime-defaults? >> >> The result *should be* the same as changing the default with xdg-mime but >> just for the sugar processes, that is your goal correct? >> >> > May be this behaviour could be, due >> > >> > 1) Sugar is running in Ubuntu. >> > >> > 2) Only happens on links inside notification messages, no other way to >> > test open a link comes on my mind, at this moment. >> > >> > I'll try on Sugar running on XO/Fedora >> >> From Sebastian reply, >> >> xdg-open http://sugarlabs.org/ >> >> Prior to adding the above line the webpage would not load at all(closes >> terminal). This appears to work with the altered mime-defaults as above on >> XO's here but it doesn't look like the browse activity, more >> like epiphany. >> >> Jerry >> > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Widget to show a notification message with a link
Hi Jerry, My mistake, i missed write down the line added on /usr/share/sugar/data/mime.default file. I added exactly this line: x-scheme-handler/http org.laptop.WebActivity However after that, links were still opened with Firefox, I agree with you, tat should be work, but i don't know why. Any way, I found a workaround, adding the settings of ~/.local/share/applications/mimeapps.list on sugar-session. For the right setting when sugar is starting. And also added a script on /etc/lightdm/lightdm.conf to setting the right ones for Gnome, when it is starting. Thanks. Gustavo. On Wed, Dec 10, 2014 at 8:10 PM, Jerry Vonau wrote: > > > On December 9, 2014 at 6:59 AM Gustavo Duarte > > wrote: > > > > > > I checked this file, and there are these entries, already, as is showed > > bellow. > > > > text/html org.laptop.WebActivity > > application/xhtml+xml org.laptop.WebActivity > > application/xmlorg.laptop.WebActivity > > > > However, it doesn't work, Firefox is opened when I click on a link of > > notification message. > > > > Note that x-scheme-handler/http is not present, did you try adding: > x-scheme-handler/http org.laptop.WebActivity > to mime-defaults? > > The result *should be* the same as changing the default with xdg-mime but > just for the sugar processes, that is your goal correct? > > > May be this behaviour could be, due > > > > 1) Sugar is running in Ubuntu. > > > > 2) Only happens on links inside notification messages, no other way to > > test open a link comes on my mind, at this moment. > > > > I'll try on Sugar running on XO/Fedora > > From Sebastian reply, > > xdg-open http://sugarlabs.org/ > > Prior to adding the above line the webpage would not load at all(closes > terminal). This appears to work with the altered mime-defaults as above on > XO's here but it doesn't look like the browse activity, more > like epiphany. > > Jerry > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Widget to show a notification message with a link
I checked this file, and there are these entries, already, as is showed bellow. text/html org.laptop.WebActivity application/xhtml+xml org.laptop.WebActivity application/xmlorg.laptop.WebActivity However, it doesn't work, Firefox is opened when I click on a link of notification message. May be this behaviour could be, due 1) Sugar is running in Ubuntu. 2) Only happens on links inside notification messages, no other way to test open a link comes on my mind, at this moment. I'll try on Sugar running on XO/Fedora thanks On Mon, Dec 8, 2014 at 1:58 PM, Gonzalo Odiard wrote: > We have that file in sugar module in the data directory. > > Gonzalo > > On Mon, Dec 8, 2014 at 12:48 PM, Gustavo Duarte > wrote: >> >> Ahh no, I didn't know this file, sound a good option, i'll try and let >> you know the results. >> >> Thanks >> >> Gustavo. >> >> On Mon, Dec 8, 2014 at 11:17 AM, Walter Bender >> wrote: >> > Did you try in /usr/share/sugar/data/mime-defaults by any chance? >> > >> > On Mon, Dec 8, 2014 at 7:27 AM, Gustavo Duarte >> > wrote: >> >> Unfortunately, this settings on activity.info doesn't work. >> >> >> >> Now i'm wonder, where should be the best place to configure these mime >> >> entries, in which point of Sugar session starting procedure ? >> >> >> >> Inside sugar-session script, it would be a right place ? >> >> >> >> Because this mime types settings is valid only on Sugar desktop, when >> >> the PC switch to Gnome, the mime types should be changed to Firefox. >> >> >> >> Thanks in advance. >> >> >> >> Gustavo. >> >> >> >> >> >> >> >> On Sun, Dec 7, 2014 at 12:01 PM, Gustavo Duarte >> >> wrote: >> >>> Good point, i'll try it and let you know. >> >>> >> >>> El 07/12/2014 02:38, "Jerry Vonau" escribió: >> >>> >> >>>> Just a thought, wonder if adding x-scheme-handler/http to mime_types= >> >>>> in >> >>>> browse's activity.info file would allow sugar to override what the >> >>>> system >> >>>> is providing? Another place for that definition might be in >> >>>> /usr/share/sugar/data/mime.defaults. >> >>>> >> >>>> Jerry >> >>>> >> >>>> >> >>>> > On December 6, 2014 at 8:57 PM Gustavo Duarte >> >>>> > >> >>>> > wrote: >> >>>> > >> >>>> > >> >>>> > Finally I found the setting needed to open links with Browser >> >>>> > Activity >> >>>> > by default. >> >>>> > >> >>>> > xdg-mime default sugar-browser.desktop x-scheme-handler/http >> >>>> > and >> >>>> > >> >>>> > xdg-mime default sugar-browser.desktop x-scheme-handler/https >> >>>> > >> >>>> > Adding this settings, links on notifications messages should be >> >>>> > opened >> >>>> > by BrowserActivity. >> >>>> > >> >>>> > Offcourse a bash script to launch BrowserActivit is needed. >> >>>> > Something >> >>>> > like: >> >>>> > >> >>>> > #!/bin/sh >> >>>> > while [ -n "$2" ] ; do >> >>>> > case "$1" in >> >>>> > >> >>>> > -u | --uri) uri="$2" ;; >> >>>> > >> >>>> > *) echo unknown argument $1 $2 ;; >> >>>> > >> >>>> > esac >> >>>> > shift;shift >> >>>> > done >> >>>> > >> >>>> > sugar-launch org.laptop.WebActivity --uri "$uri" >> >>>> > >> >>>> > Thanks a lot for all your tips, were very helpfully. >> >>>> > >> >>>> > Gustavo. >> >>>> > >> >>>> > On Sat, Dec 6, 2014 at 3:59 PM, Jerry Vonau wrote: >> >>>> > > Hi Gustavo, >> >>>> > > >> >>>> > >> On December 6, 2014 at 10:42
Re: [Sugar-devel] Widget to show a notification message with a link
Ahh no, I didn't know this file, sound a good option, i'll try and let you know the results. Thanks Gustavo. On Mon, Dec 8, 2014 at 11:17 AM, Walter Bender wrote: > Did you try in /usr/share/sugar/data/mime-defaults by any chance? > > On Mon, Dec 8, 2014 at 7:27 AM, Gustavo Duarte wrote: >> Unfortunately, this settings on activity.info doesn't work. >> >> Now i'm wonder, where should be the best place to configure these mime >> entries, in which point of Sugar session starting procedure ? >> >> Inside sugar-session script, it would be a right place ? >> >> Because this mime types settings is valid only on Sugar desktop, when >> the PC switch to Gnome, the mime types should be changed to Firefox. >> >> Thanks in advance. >> >> Gustavo. >> >> >> >> On Sun, Dec 7, 2014 at 12:01 PM, Gustavo Duarte wrote: >>> Good point, i'll try it and let you know. >>> >>> El 07/12/2014 02:38, "Jerry Vonau" escribió: >>> >>>> Just a thought, wonder if adding x-scheme-handler/http to mime_types= in >>>> browse's activity.info file would allow sugar to override what the system >>>> is providing? Another place for that definition might be in >>>> /usr/share/sugar/data/mime.defaults. >>>> >>>> Jerry >>>> >>>> >>>> > On December 6, 2014 at 8:57 PM Gustavo Duarte >>>> > wrote: >>>> > >>>> > >>>> > Finally I found the setting needed to open links with Browser Activity >>>> > by default. >>>> > >>>> > xdg-mime default sugar-browser.desktop x-scheme-handler/http >>>> > and >>>> > >>>> > xdg-mime default sugar-browser.desktop x-scheme-handler/https >>>> > >>>> > Adding this settings, links on notifications messages should be opened >>>> > by BrowserActivity. >>>> > >>>> > Offcourse a bash script to launch BrowserActivit is needed. Something >>>> > like: >>>> > >>>> > #!/bin/sh >>>> > while [ -n "$2" ] ; do >>>> > case "$1" in >>>> > >>>> > -u | --uri) uri="$2" ;; >>>> > >>>> > *) echo unknown argument $1 $2 ;; >>>> > >>>> > esac >>>> > shift;shift >>>> > done >>>> > >>>> > sugar-launch org.laptop.WebActivity --uri "$uri" >>>> > >>>> > Thanks a lot for all your tips, were very helpfully. >>>> > >>>> > Gustavo. >>>> > >>>> > On Sat, Dec 6, 2014 at 3:59 PM, Jerry Vonau wrote: >>>> > > Hi Gustavo, >>>> > > >>>> > >> On December 6, 2014 at 10:42 AM Gustavo Duarte >>>> > >> wrote: >>>> > >> >>>> > >> >>>> > >> Add an actions, isn't an option, because the notification-daemon >>>> > >> (Ubuntu 12.04 precise) does't support actions. >>>> > >> >>>> > >> From freedesktop specs https://developer.gnome.org/notification-spec/ >>>> > >> " >>>> > >> Actions >>>> > >> >>>> > >> The actions send a request message back to the notification client >>>> > >> when invoked. This functionality may not be implemented by the >>>> > >> notification server, conforming clients should check if it is >>>> > >> available before using it (see the GetCapabilities message in >>>> > >> Protocol). An implementation is free to ignore any requested by the >>>> > >> client. As an example one possible rendering of actions would be as >>>> > >> buttons in the notification popup. >>>> > >> >>>> > >> Actions are sent over as a list of pairs. Each even element in the >>>> > >> list (starting at index 0) represents the identifier for the action. >>>> > >> Each odd element in the list is the localized string that will be >>>> > >> displayed to the user." >>>> > >> >>>> > >> >>>> > >> However hyperlinks is supported, if I add >>> > >> href="http://
Re: [Sugar-devel] Widget to show a notification message with a link
Unfortunately, this settings on activity.info doesn't work. Now i'm wonder, where should be the best place to configure these mime entries, in which point of Sugar session starting procedure ? Inside sugar-session script, it would be a right place ? Because this mime types settings is valid only on Sugar desktop, when the PC switch to Gnome, the mime types should be changed to Firefox. Thanks in advance. Gustavo. On Sun, Dec 7, 2014 at 12:01 PM, Gustavo Duarte wrote: > Good point, i'll try it and let you know. > > El 07/12/2014 02:38, "Jerry Vonau" escribió: > >> Just a thought, wonder if adding x-scheme-handler/http to mime_types= in >> browse's activity.info file would allow sugar to override what the system >> is providing? Another place for that definition might be in >> /usr/share/sugar/data/mime.defaults. >> >> Jerry >> >> >> > On December 6, 2014 at 8:57 PM Gustavo Duarte >> > wrote: >> > >> > >> > Finally I found the setting needed to open links with Browser Activity >> > by default. >> > >> > xdg-mime default sugar-browser.desktop x-scheme-handler/http >> > and >> > >> > xdg-mime default sugar-browser.desktop x-scheme-handler/https >> > >> > Adding this settings, links on notifications messages should be opened >> > by BrowserActivity. >> > >> > Offcourse a bash script to launch BrowserActivit is needed. Something >> > like: >> > >> > #!/bin/sh >> > while [ -n "$2" ] ; do >> > case "$1" in >> > >> > -u | --uri) uri="$2" ;; >> > >> > *) echo unknown argument $1 $2 ;; >> > >> > esac >> > shift;shift >> > done >> > >> > sugar-launch org.laptop.WebActivity --uri "$uri" >> > >> > Thanks a lot for all your tips, were very helpfully. >> > >> > Gustavo. >> > >> > On Sat, Dec 6, 2014 at 3:59 PM, Jerry Vonau wrote: >> > > Hi Gustavo, >> > > >> > >> On December 6, 2014 at 10:42 AM Gustavo Duarte >> > >> wrote: >> > >> >> > >> >> > >> Add an actions, isn't an option, because the notification-daemon >> > >> (Ubuntu 12.04 precise) does't support actions. >> > >> >> > >> From freedesktop specs https://developer.gnome.org/notification-spec/ >> > >> " >> > >> Actions >> > >> >> > >> The actions send a request message back to the notification client >> > >> when invoked. This functionality may not be implemented by the >> > >> notification server, conforming clients should check if it is >> > >> available before using it (see the GetCapabilities message in >> > >> Protocol). An implementation is free to ignore any requested by the >> > >> client. As an example one possible rendering of actions would be as >> > >> buttons in the notification popup. >> > >> >> > >> Actions are sent over as a list of pairs. Each even element in the >> > >> list (starting at index 0) represents the identifier for the action. >> > >> Each odd element in the list is the localized string that will be >> > >> displayed to the user." >> > >> >> > >> >> > >> However hyperlinks is supported, if I add > > >> href="http://sugarlabs.org";> SugarLabs , works. Not exactly as I >> > >> want :( >> > >> >> > >> When I do a click on the link, Firefox is opened. >> > >> >> > >> I tried change the system default browser setting with: >> > >> >> > >> gconftool-2 -s /desktop/gnome/applications/browser/exec --type string >> > >> '/usr/local/bin/sugar-browser "%s"' >> > >> >> > >> Notice: sugar-browser is a bash script to launch BrowserActivity. >> > >> >> > >> But after that, Firefox still opened each doing click on link of >> > >> notification message. >> > >> >> > >> >> > >> So the problem now is, how change the default browser on Sugar. >> > >> >> > > >> > > Hum, sounds like the system's default mime definitions might be >> > > pointed >> > > to >> >
Re: [Sugar-devel] Widget to show a notification message with a link
Good point, i'll try it and let you know. El 07/12/2014 02:38, "Jerry Vonau" escribió: > Just a thought, wonder if adding x-scheme-handler/http to mime_types= in > browse's activity.info file would allow sugar to override what the system > is providing? Another place for that definition might be in > /usr/share/sugar/data/mime.defaults. > > Jerry > > > > On December 6, 2014 at 8:57 PM Gustavo Duarte > > wrote: > > > > > > Finally I found the setting needed to open links with Browser Activity > > by default. > > > > xdg-mime default sugar-browser.desktop x-scheme-handler/http > > and > > > > xdg-mime default sugar-browser.desktop x-scheme-handler/https > > > > Adding this settings, links on notifications messages should be opened > > by BrowserActivity. > > > > Offcourse a bash script to launch BrowserActivit is needed. Something > > like: > > > > #!/bin/sh > > while [ -n "$2" ] ; do > > case "$1" in > > > > -u | --uri) uri="$2" ;; > > > > *) echo unknown argument $1 $2 ;; > > > > esac > > shift;shift > > done > > > > sugar-launch org.laptop.WebActivity --uri "$uri" > > > > Thanks a lot for all your tips, were very helpfully. > > > > Gustavo. > > > > On Sat, Dec 6, 2014 at 3:59 PM, Jerry Vonau wrote: > > > Hi Gustavo, > > > > > >> On December 6, 2014 at 10:42 AM Gustavo Duarte > > >> wrote: > > >> > > >> > > >> Add an actions, isn't an option, because the notification-daemon > > >> (Ubuntu 12.04 precise) does't support actions. > > >> > > >> From freedesktop specs https://developer.gnome.org/notification-spec/ > > >> " > > >> Actions > > >> > > >> The actions send a request message back to the notification client > > >> when invoked. This functionality may not be implemented by the > > >> notification server, conforming clients should check if it is > > >> available before using it (see the GetCapabilities message in > > >> Protocol). An implementation is free to ignore any requested by the > > >> client. As an example one possible rendering of actions would be as > > >> buttons in the notification popup. > > >> > > >> Actions are sent over as a list of pairs. Each even element in the > > >> list (starting at index 0) represents the identifier for the action. > > >> Each odd element in the list is the localized string that will be > > >> displayed to the user." > > >> > > >> > > >> However hyperlinks is supported, if I add > >> href="http://sugarlabs.org";> SugarLabs , works. Not exactly as I > > >> want :( > > >> > > >> When I do a click on the link, Firefox is opened. > > >> > > >> I tried change the system default browser setting with: > > >> > > >> gconftool-2 -s /desktop/gnome/applications/browser/exec --type string > > >> '/usr/local/bin/sugar-browser "%s"' > > >> > > >> Notice: sugar-browser is a bash script to launch BrowserActivity. > > >> > > >> But after that, Firefox still opened each doing click on link of > > >> notification message. > > >> > > >> > > >> So the problem now is, how change the default browser on Sugar. > > >> > > > > > > Hum, sounds like the system's default mime definitions might be pointed > > > to > > > Firefox in /usr/share/applications/defaults.list. What does "xdg-mime > > > query > > > default text/html" return? The XO here returns 'firefox.desktop' even > > > without having the Firefox rpm installed. Not sure what the correct way > > > of > > > overriding this list would be, create > > > "~/.local/share/applications/mimeapps.list", or maybe using "xdg-mime > > > default ..."? Both of those ideas would need a .desktop file for browse > > > thou. > > > > > > Hope it helps, > > > > > > Jerry > > > > > >> Any idea ? > > >> > > >> Thanks in advance. > > >> > > >> Gustavo. > > >> > > >> On Fri, Dec 5, 2014 at 9:27 PM, Gustavo Duarte > > >> wr
Re: [Sugar-devel] Widget to show a notification message with a link
Finally I found the setting needed to open links with Browser Activity by default. xdg-mime default sugar-browser.desktop x-scheme-handler/http and xdg-mime default sugar-browser.desktop x-scheme-handler/https Adding this settings, links on notifications messages should be opened by BrowserActivity. Offcourse a bash script to launch BrowserActivit is needed. Something like: #!/bin/sh while [ -n "$2" ] ; do case "$1" in -u | --uri) uri="$2" ;; *) echo unknown argument $1 $2 ;; esac shift;shift done sugar-launch org.laptop.WebActivity --uri "$uri" Thanks a lot for all your tips, were very helpfully. Gustavo. On Sat, Dec 6, 2014 at 3:59 PM, Jerry Vonau wrote: > Hi Gustavo, > >> On December 6, 2014 at 10:42 AM Gustavo Duarte >> wrote: >> >> >> Add an actions, isn't an option, because the notification-daemon >> (Ubuntu 12.04 precise) does't support actions. >> >> From freedesktop specs https://developer.gnome.org/notification-spec/ >> " >> Actions >> >> The actions send a request message back to the notification client >> when invoked. This functionality may not be implemented by the >> notification server, conforming clients should check if it is >> available before using it (see the GetCapabilities message in >> Protocol). An implementation is free to ignore any requested by the >> client. As an example one possible rendering of actions would be as >> buttons in the notification popup. >> >> Actions are sent over as a list of pairs. Each even element in the >> list (starting at index 0) represents the identifier for the action. >> Each odd element in the list is the localized string that will be >> displayed to the user." >> >> >> However hyperlinks is supported, if I add > href="http://sugarlabs.org";> SugarLabs , works. Not exactly as I >> want :( >> >> When I do a click on the link, Firefox is opened. >> >> I tried change the system default browser setting with: >> >> gconftool-2 -s /desktop/gnome/applications/browser/exec --type string >> '/usr/local/bin/sugar-browser "%s"' >> >> Notice: sugar-browser is a bash script to launch BrowserActivity. >> >> But after that, Firefox still opened each doing click on link of >> notification message. >> >> >> So the problem now is, how change the default browser on Sugar. >> > > Hum, sounds like the system's default mime definitions might be pointed to > Firefox in /usr/share/applications/defaults.list. What does "xdg-mime query > default text/html" return? The XO here returns 'firefox.desktop' even > without having the Firefox rpm installed. Not sure what the correct way of > overriding this list would be, create > "~/.local/share/applications/mimeapps.list", or maybe using "xdg-mime > default ..."? Both of those ideas would need a .desktop file for browse > thou. > > Hope it helps, > > Jerry > >> Any idea ? >> >> Thanks in advance. >> >> Gustavo. >> >> On Fri, Dec 5, 2014 at 9:27 PM, Gustavo Duarte >> wrote: >> > Greats !! Thanks for these tips. >> > >> > El 05/12/2014 17:59, "Gonzalo Odiard" escribió: >> > >> >> +1 >> >> >> >> On Fri, Dec 5, 2014 at 4:57 PM, Sam P. >> >> wrote: >> >>> >> >>> Hi, >> >>> >> >>> If my memory is right, the freedesktop notification spec includes >> >>> "actions". You can have multiple of these and they are displayed like >> >>> buttons [1]. When they are clicked you get a callback event. >> >>> >> >>> I would prefer to implement the standard ranter than something >> >>> proprietary. That is just my opinions. >> >>> >> >>> Thanks, >> >>> Sam >> >>> >> >>> [1]: imgur.com/e8r9OZr >> >> >> >> >> >> >> >> >> >> -- >> >> Gonzalo Odiard >> >> >> >> SugarLabs - Software for children learning >> ___ >> 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] Widget to show a notification message with a link
Add an actions, isn't an option, because the notification-daemon (Ubuntu 12.04 precise) does't support actions. From freedesktop specs https://developer.gnome.org/notification-spec/ " Actions The actions send a request message back to the notification client when invoked. This functionality may not be implemented by the notification server, conforming clients should check if it is available before using it (see the GetCapabilities message in Protocol). An implementation is free to ignore any requested by the client. As an example one possible rendering of actions would be as buttons in the notification popup. Actions are sent over as a list of pairs. Each even element in the list (starting at index 0) represents the identifier for the action. Each odd element in the list is the localized string that will be displayed to the user." However hyperlinks is supported, if I add http://sugarlabs.org";> SugarLabs , works. Not exactly as I want :( When I do a click on the link, Firefox is opened. I tried change the system default browser setting with: gconftool-2 -s /desktop/gnome/applications/browser/exec --type string '/usr/local/bin/sugar-browser "%s"' Notice: sugar-browser is a bash script to launch BrowserActivity. But after that, Firefox still opened each doing click on link of notification message. So the problem now is, how change the default browser on Sugar. Any idea ? Thanks in advance. Gustavo. On Fri, Dec 5, 2014 at 9:27 PM, Gustavo Duarte wrote: > Greats !! Thanks for these tips. > > El 05/12/2014 17:59, "Gonzalo Odiard" escribió: > >> +1 >> >> On Fri, Dec 5, 2014 at 4:57 PM, Sam P. wrote: >>> >>> Hi, >>> >>> If my memory is right, the freedesktop notification spec includes >>> "actions". You can have multiple of these and they are displayed like >>> buttons [1]. When they are clicked you get a callback event. >>> >>> I would prefer to implement the standard ranter than something >>> proprietary. That is just my opinions. >>> >>> Thanks, >>> Sam >>> >>> [1]: imgur.com/e8r9OZr >> >> >> >> >> -- >> Gonzalo Odiard >> >> SugarLabs - Software for children learning ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Widget to show a notification message with a link
Greats !! Thanks for these tips. El 05/12/2014 17:59, "Gonzalo Odiard" escribió: > +1 > > On Fri, Dec 5, 2014 at 4:57 PM, Sam P. wrote: > >> Hi, >> >> If my memory is right, the freedesktop notification spec includes >> "actions". You can have multiple of these and they are displayed like >> buttons [1]. When they are clicked you get a callback event. >> >> I would prefer to implement the standard ranter than something >> proprietary. That is just my opinions. >> >> Thanks, >> Sam >> >> [1]: imgur.com/e8r9OZr >> > > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Widget to show a notification message with a link
Hi Gonzalo, Do you remember, if is there a thread where it addition was discussed ? Or do you suggest me a start point to achieve that ? Thanks Gustavo. On Fri, Dec 5, 2014 at 1:27 PM, Gonzalo Odiard wrote: > I think the firs option is the best. That addition was discussed a few times > but never implemented in Sugar. > Please share your code then can be added in the next version of Sugar. > > Gonzalo > > On Fri, Dec 5, 2014 at 11:54 AM, Gustavo Duarte > wrote: >> >> Hi Guys, >> >> >> I need build an app, which shows a message to kids with some text and >> one link which could be opened by Browser activity, like a >> notification. >> >> I know that already exist a way, to show notifications which will be >> placed on the top bar, by dbus, "org.freedesktop.Notifications", >> however it doesn't work for because, when I did a click on the link >> the Browser activity isn't opened. >> >> DBUS_NAME="org.freedesktop.Notifications" >> OBJ_PATH="/org/freedesktop/Notifications" >> icon = None >> IFACE_NAME="org.freedesktop.Notifications" >> bus = dbus.SessionBus() >> notify_obj = bus.get_object(DBUS_NAME,OBJ_PATH) >> notifications=dbus.Interface(notify_obj,IFACE_NAME) >> notifications.Notify("",0,icon,'Title',"www.google.com",[], hints >> ,-1) >> >> >> >> I think, may be, I have tow options, >> >> 1) Add a kind of event, on the notification widget, to recognise the >> click and open the Browser activity. >> >> 2) Make another type of widget, like a Dialog, where ca be easier add >> an event click to open the Browser. >> >> What is your opinion ? Are there other obvious options, that I'm can't >> seeing ? >> >> >> Thanks in advance. >> >> Gustavo. >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel > > > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Widget to show a notification message with a link
Hi Guys, I need build an app, which shows a message to kids with some text and one link which could be opened by Browser activity, like a notification. I know that already exist a way, to show notifications which will be placed on the top bar, by dbus, "org.freedesktop.Notifications", however it doesn't work for because, when I did a click on the link the Browser activity isn't opened. DBUS_NAME="org.freedesktop.Notifications" OBJ_PATH="/org/freedesktop/Notifications" icon = None IFACE_NAME="org.freedesktop.Notifications" bus = dbus.SessionBus() notify_obj = bus.get_object(DBUS_NAME,OBJ_PATH) notifications=dbus.Interface(notify_obj,IFACE_NAME) notifications.Notify("",0,icon,'Title',"www.google.com",[], hints ,-1) I think, may be, I have tow options, 1) Add a kind of event, on the notification widget, to recognise the click and open the Browser activity. 2) Make another type of widget, like a Dialog, where ca be easier add an event click to open the Browser. What is your opinion ? Are there other obvious options, that I'm can't seeing ? Thanks in advance. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Configure an Activity to start at boot time.
Hi James, Thanks for your explanation, and show me the different options. In my case, Sugar is running over Ubuntu, so i guess, .xsession isn't an option. I choice as workaround, modify sugar-session script to start this app. I'm agree with you, that a final solution could be sugar-session loads application from a particular directory like Gnome do, from /etc/xdg/autostart. Kind regards. Gustavo. On Mon, Sep 29, 2014 at 6:14 PM, James Cameron wrote: > There are many places an application can be started. > > Too many options. > > If I were doing this, my decision would be constrained by: > > - what Linux distribution is being used, > > - exactly what graphics resources are needed, > > - how critical it is that the application be started before or after > the Sugar shell, > > - if there is a performance impact caused by the application starting > at the same time as the other processes started by sugar-session. > > > If you are using OLPC OS, read the source and learn the sequence: > > 1. systemd keeps /usr/sbin/olpc-dm running, (a C program, the sources > can be found in the olpc-utils git repository), > > 2. olpc-dm starts /usr/bin/olpc-session, (a shell script, also in > olpc-utils, also reads and executes .xsession file), > > 3. olpc-session starts /bin/sugar, > > 4. sugar starts /bin/sugar-session. > > > While .xsession would seem to be a natural place to add an > application, doing this prevents easy use by the user later. Also, it > starts _before_ sugar-session, so it won't see the same graphics > resources (such as window manager properties and hints). > > echo "application &" >> .xsession > > There seems to be a lack of suitable places to set up such an > application without having to change some packages. In future I'd > like to see some feature of sugar-session that loads custom > applications or activities on start. > > -- > James Cameron > http://quozl.linux.org.au/ > ___ > 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
[Sugar-devel] Configure an Activity to start at boot time.
Hey guys, I need run a graphic application at every start. As this app require graphics resources, it should be started after sugar-session start. The question is, which place is better to start this app ? I know that, if add that on sugar-session, it works fine, but I don't sure is it the best place to do that kind of things. Thanks in advance. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Building a customized image of Sugar .100
I applied the changes indicated on http://dev.laptop.org/ticket/10918 and same error happened, please see the out.txt and the module after applied changes. On Thu, Aug 21, 2014 at 8:17 PM, Jerry Vonau wrote: > hum, guess the logging is showing the last successful command and masking > the true error: > > ln -s '/usr/lib/systemd/system/ds-backup.timer' > '/etc/systemd/system/multi-user.target.wants/ds-backup.timer' > > > going by the order in modules/base/kspost.10.core.inc > now it fails with at: systemctl enable cntlm.service > > Operation failed: No such file or directory > ERROR:root:Error creating Live CD : %post script failed with code 1 > > What is really handy to have for debugging is a copy of the master > kickstart file used at image creation time. This file has the order of the > scriptlets that are used in os-builder, and presents a nice play by play of > the whole build process. There is a patch to keep it around for > inspection[1] > > Jerry > > 1. http://dev.laptop.org/ticket/10918 > > > On August 21, 2014 at 5:43 PM Gonzalo Odiard > > wrote: > > > > > > Mhh, cntlm was added asa request from AU. > > Probably is safe to remove it in more common network environments. > > No idea how can be related to the error posted before. > > > > Gonzalo > > > > > > On Thu, Aug 21, 2014 at 6:53 PM, Jerry Vonau wrote: > > > > > OK, there is a difference in the ini file for XO-4 and the others[1], > > > for > > > the XO-4 cntlm was added to the rpm list in the ini file and the > > > systemd > > > service was enabled in modules/base/kspost.10.core.inc. This would fail > > > on > > > non-XO-4 builds as the rpm is missing, it would be better to add the > > > rpm to > > > /modules/base/kspkglist.10.core.inc to cover all models. Best bet would > > > be > > > to declare the missing dependency in sugar's spec file instead of > > > relying > > > of os-builder to cover the missing rpm. > > > > > > Jerry > > > > > > 1. https://github.com/godiard/olpc-os-builder/commits/au1b > > > > > > > On August 21, 2014 at 3:49 PM Gustavo Duarte > > > > wrote: > > > > > > > > > > > > Attached is the entire log recorded. I hope it provides a clue what's > > > > wrong here. > > > > > > > > Thanks in advance. > > > > > > > > Gustavo. > > > > > > > > On Thu, Aug 21, 2014 at 10:03 AM, Gustavo Duarte > > > > > > > > wrote: > > > > > Yup, i'm doing something like that, to record the entire log. > > > > > Once the building being finished i'll send you. > > > > > > > > > > Thanks. > > > > > > > > > > > > > > > On Thu, Aug 21, 2014 at 9:54 AM, James Cameron > > > > > wrote: > > > > >> > > > > >> In the limited log you mailed, I could not find the cause of the > > > > >> problem. > > > > >> > > > > >> Please copy and paste the entire log output of olpc-os-builder? > > > > >> > > > > >> For myself, I use the script(1) command to make logs. > > > > >> > > > > >> Also, if possible, temporarily set language to English, so that I > > > > >> can > > > > >> compare it against my logs. > > > > >> > > > > >> -- > > > > >> James Cameron > > > > >> http://quozl.linux.org.au/ > > > > > > > > > > > > > > > > > > > > > -- > > Gonzalo Odiard > > > > SugarLabs - Software for children learning > Reading repository information for http://mock.laptop.org/repos/local.13.2.0-xo1.75 Reading package information from http://mock.laptop.org/repos/local.13.2.0-xo1.75/repodata/primary.xml.gz Reading repository information for http://mock.laptop.org/repos/local.13.2.0 Reading package information from http://mock.laptop.org/repos/local.13.2.0/repodata/primary.xml.gz Reading repository information for http://dev.laptop.org/~dsd/.vmeta/13.2.0/ Reading package information from http://dev.laptop.org/~dsd/.vmeta/13.2.0//repodata/primary.xml.gz Reading repository information for http://harvest.one-education.org/public/au1b-updates/ Reading package information from http://harvest.one-education.org/public/au1b-updates//repodata/primary.xml.gz Trying group URL http://wiki.laptop.org/go/Acti
Re: [Sugar-devel] Building a customized image of Sugar .100
Attached is the entire log recorded. I hope it provides a clue what's wrong here. Thanks in advance. Gustavo. On Thu, Aug 21, 2014 at 10:03 AM, Gustavo Duarte wrote: > Yup, i'm doing something like that, to record the entire log. > Once the building being finished i'll send you. > > Thanks. > > > On Thu, Aug 21, 2014 at 9:54 AM, James Cameron wrote: >> >> In the limited log you mailed, I could not find the cause of the problem. >> >> Please copy and paste the entire log output of olpc-os-builder? >> >> For myself, I use the script(1) command to make logs. >> >> Also, if possible, temporarily set language to English, so that I can >> compare it against my logs. >> >> -- >> James Cameron >> http://quozl.linux.org.au/ > > Reading repository information for http://mock.laptop.org/repos/local.13.2.0-xo1.75 Reading package information from http://mock.laptop.org/repos/local.13.2.0-xo1.75/repodata/primary.xml.gz Reading repository information for http://mock.laptop.org/repos/local.13.2.0 Reading package information from http://mock.laptop.org/repos/local.13.2.0/repodata/primary.xml.gz Reading repository information for http://dev.laptop.org/~dsd/.vmeta/13.2.0/ Reading package information from http://dev.laptop.org/~dsd/.vmeta/13.2.0//repodata/primary.xml.gz Reading repository information for http://harvest.one-education.org/public/au1b-updates/ Reading package information from http://harvest.one-education.org/public/au1b-updates//repodata/primary.xml.gz Trying group URL http://wiki.laptop.org/go/Activities/OLPCAU/ARM-test/13.2.0/13.3.0 Trying group URL http://wiki.laptop.org/go/Activities/OLPCAU/ARM-test/13.2.0/13.3 Trying group URL http://wiki.laptop.org/go/Activities/OLPCAU/ARM-test/13.2.0 Examining org.laptop.sugar.Jukebox v26: http://dev.laptop.org/~greenfeld/activities/vJukebox-26.xo Not downloading, already in cache. Examining org.laptop.Oficina v63: http://download.sugarlabs.org/activities/4082/paint-63.xo Not downloading, already in cache. Examining org.laptop.Chat v81: http://download.sugarlabs.org/activities/4069/chat-81.xo Not downloading, already in cache. Examining org.sugarlabs.Training v3.4: http://people.sugarlabs.org/walter/OneAcademy-3.4.xo Not downloading, already in cache. Examining org.laptop.AcousticMeasure v34: http://download.sugarlabs.org/activities/4264/distance-34.xo Not downloading, already in cache. Examining org.laptop.StopWatchActivity v18.1: http://dev.laptop.org/~gonzalo/activities/StopWatch-18.1.xo Not downloading, already in cache. Examining org.laptop.Terminal v42.1: http://dev.laptop.org/~gonzalo/activities/Terminal-42.1.xo Not downloading, already in cache. Examining org.laptop.physics v21: http://download.sugarlabs.org/activities/4193/physics-21.xo Not downloading, already in cache. Examining org.sugarlabs.OneSupport v1.7: http://www.sugarlabs.org/~tch/activities/OneSupport-1.7.xo Not downloading, already in cache. Examining org.laptop.community.Spirolaterals v26: http://download.sugarlabs.org/activities/4331/spirolaterals-26.xo Not downloading, already in cache. Examining edu.mit.media.ScratchActivity v24: http://dev.laptop.org/~gonzalo/activities/Scratch-24.xo Not downloading, already in cache. Examining org.gnome.Labyrinth v16: http://download.sugarlabs.org/activities/4078/labyrinth-16.xo Not downloading, already in cache. Examining org.laptop.HelpActivity v17.1: http://download.sugarlabs.org/activities/4051/help-17.1.xo Not downloading, already in cache. Examining org.laptop.ImageViewerActivity v59: http://download.sugarlabs.org/activities/4032/image_viewer-59.xo Not downloading, already in cache. Examining org.laptop.WikipediaActivitySimpleEN v37.1: http://download.sugarlabs.org/activities/4547/simple_english_wikipedia-37.1.xo Not downloading, already in cache. Examining org.sugarlabs.MusicKeyboard v8: http://download.sugarlabs.org/activities/4654/music_keyboard-8.xo Not downloading, already in cache. Examining com.garycmartin.Moon v16: http://download.sugarlabs.org/activities/4034/moon-16.xo Not downloading, already in cache. Examining mulawa.Letters v25: http://download.sugarlabs.org/activities/4477/letters-25.xo Not downloading, already in cache. Examining org.laptop.Calculate v42: http://download.sugarlabs.org/activities/4076/calculate-42.xo Not downloading, already in cache. Examining org.sugarlabs.JournalShare v6: http://download.sugarlabs.org/activities/4656/journal_share-6.xo Not downloading, already in cache. Examining tv.alterna.Clock v15: http://download.sugarlabs.org/activities/4191/clock-15.xo Not downloading, already in cache. Examining org.laptop.MeasureActivity v51: http://download.sugarlabs.org/activities/4197/measure-51.xo Not downloading, already in cache. Examining org.laptop.TurtleArtActivity v207.1: http://people.sugarlabs.org/~walter/TurtleBlocks-207.1.xo Not downloading, already in cache.
Re: [Sugar-devel] Building a customized image of Sugar .100
Yup, i'm doing something like that, to record the entire log. Once the building being finished i'll send you. Thanks. On Thu, Aug 21, 2014 at 9:54 AM, James Cameron wrote: > In the limited log you mailed, I could not find the cause of the problem. > > Please copy and paste the entire log output of olpc-os-builder? > > For myself, I use the script(1) command to make logs. > > Also, if possible, temporarily set language to English, so that I can > compare it against my logs. > > -- > James Cameron > http://quozl.linux.org.au/ > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Building a customized image of Sugar .100
Gonzalo, Yes, i have installed all these package already. [olpc@xo-99-8e-bf ~]$ for i in ntpdate gparted olpc-os-builder binutils git gcc make libtomcrypt-devel zlib-devel; do rpm -iqa | grep "$i"; done ntpdate-4.2.6p5-8.fc18.armv7hl gparted-0.16.1-2.fc18.armv7hl olpc-os-builder-7.0.0-4.fc18.armv7hl binutils-2.23.51.0.1-10.fc18.armv7hl git-1.8.1.4-2.fc18.armv7hl libgcc-4.7.2-8.fc18.armv7hl gcc-4.7.2-8.fc18.armv7hl make-3.82-15.fc18.armv7hl libtomcrypt-devel-1.17-21.fc18.armv7hl zlib-devel-1.2.7-9.fc18.armv7hl On Wed, Aug 20, 2014 at 9:43 AM, Gonzalo Odiard wrote: > My be the error is "ERROR:root:Error creating Live CD : %post script failed > with code 1"? > Do you have all the packages installed as is documented here? > http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware#cite_ref-6 > > Gonzalo > > > On Wed, Aug 20, 2014 at 8:43 AM, Gustavo Duarte > wrote: >> >> Seems that ds-backup-client rpm is on the list, bellow is the content fo >> kspklglist.10.core.inc. >> >> May be for another reason, this package is hasn't installed ? >> >> >> # basic system packages >> chkconfig >> kernel >> tar >> wget >> diffutils >> rfkill >> passwd >> bzip2 >> file >> openssh-server >> openssh-clients >> sudo >> vim-minimal >> rpm >> yum >> tree >> nano >> less >> rsyslog >> >> # basic debugging >> strace >> >> # OLPC technologies and customization packages >> olpc-utils >> olpc-netutils >> plymouth-theme-olpc >> PolicyKit-olpc >> ds-backup-client <=== here >> olpc-powerd >> olpc-powerd-dbus >> >> # graphical base environment >> olpc-kbdshim >> xorg-x11-server-Xorg >> xorg-x11-drv-fbdev >> xorg-x11-drv-evdev >> xorg-x11-drv-keyboard >> xorg-x11-drv-mouse >> xorg-x11-utils >> xorg-x11-xinit >> xorg-x11-xauth >> >> # strip fedora trademarks >> generic-logos >> >> # bits to set up the livecd while anaconda has been removed here >> #isomd5sum >> >> # GSM/CDMA USB modem support, #7172 >> ModemManager >> usb_modeswitch >> usb_modeswitch-data >> >> # provides firewall-offline-cmd, needed for kickstart >> firewalld >> >> >> On Mon, Aug 18, 2014 at 3:12 PM, Jerry Vonau wrote: >>> >>> > On August 18, 2014 at 9:53 AM Gustavo Duarte >>> > wrote: >>> > >>> > >>> > I'm trying with AU oob scripts, from >>> > https://github.com/godiard/olpc-os-builder/tree/au1b, and using a USB >>> > driver, :) to avoid nfs problem, and the generation isn't finishing >>> > well, >>> > the error showed bellow occurs. >>> > >>> > I tried with olpc-os-13.2.0-xo1.75.ini configuration file, on a XO 1.75 >>> > with 31013o2.zd image, and followed the steps described on: >>> > http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware >>> > >>> > Any idea, what i'm doing wrong ? >>> > >>> > >>> > = >>> > Firewall was disabled, unable to convert to zone. >>> > No changes to default zone needed. >>> > Nota: Reenviando petición a 'systemctl enable olpc-dm.service'. >>> > ln -s '/usr/lib/systemd/system/olpc-dm.service' >>> > '/etc/systemd/system/display-manager.service' >>> > Nota: Reenviando petición a 'systemctl enable olpc-configure.service'. >>> > ln -s '/usr/lib/systemd/system/olpc-configure.service' >>> > '/etc/systemd/system/basic.target.wants/olpc-configure.service' >>> > Nota: Reenviando petición a 'systemctl enable >>> > olpc-boot-finish.service'. >>> > ln -s '/usr/lib/systemd/system/olpc-boot-finish.service' >>> > '/etc/systemd/system/graphical.target.wants/olpc-boot-finish.service' >>> > Nota: Reenviando petición a 'systemctl enable >>> > plymouth-shutdown-wait.service'. >>> > ln -s '/usr/lib/systemd/system/plymouth-shutdown-wait.service' >>> > >>> > '/etc/systemd/system/poweroff.target.wants/plymouth-shutdown-wait.service' >>> > ln -s '/usr/lib/systemd/system/plymouth-shutdown-wait.service' >>> > '/etc/systemd/system/halt.target.wants/plymouth-shutdown-wait.service' &g
Re: [Sugar-devel] Building a customized image of Sugar .100
Seems that ds-backup-client rpm is on the list, bellow is the content fo kspklglist.10.core.inc. May be for another reason, this package is hasn't installed ? # basic system packages chkconfig kernel tar wget diffutils rfkill passwd bzip2 file openssh-server openssh-clients sudo vim-minimal rpm yum tree nano less rsyslog # basic debugging strace # OLPC technologies and customization packages olpc-utils olpc-netutils plymouth-theme-olpc PolicyKit-olpc ds-backup-client <=== here olpc-powerd olpc-powerd-dbus # graphical base environment olpc-kbdshim xorg-x11-server-Xorg xorg-x11-drv-fbdev xorg-x11-drv-evdev xorg-x11-drv-keyboard xorg-x11-drv-mouse xorg-x11-utils xorg-x11-xinit xorg-x11-xauth # strip fedora trademarks generic-logos # bits to set up the livecd while anaconda has been removed here #isomd5sum # GSM/CDMA USB modem support, #7172 ModemManager usb_modeswitch usb_modeswitch-data # provides firewall-offline-cmd, needed for kickstart firewalld On Mon, Aug 18, 2014 at 3:12 PM, Jerry Vonau wrote: > > On August 18, 2014 at 9:53 AM Gustavo Duarte > > wrote: > > > > > > I'm trying with AU oob scripts, from > > https://github.com/godiard/olpc-os-builder/tree/au1b, and using a USB > > driver, :) to avoid nfs problem, and the generation isn't finishing well, > > the error showed bellow occurs. > > > > I tried with olpc-os-13.2.0-xo1.75.ini configuration file, on a XO 1.75 > > with 31013o2.zd image, and followed the steps described on: > > http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware > > > > Any idea, what i'm doing wrong ? > > > > = > > Firewall was disabled, unable to convert to zone. > > No changes to default zone needed. > > Nota: Reenviando petición a 'systemctl enable olpc-dm.service'. > > ln -s '/usr/lib/systemd/system/olpc-dm.service' > > '/etc/systemd/system/display-manager.service' > > Nota: Reenviando petición a 'systemctl enable olpc-configure.service'. > > ln -s '/usr/lib/systemd/system/olpc-configure.service' > > '/etc/systemd/system/basic.target.wants/olpc-configure.service' > > Nota: Reenviando petición a 'systemctl enable olpc-boot-finish.service'. > > ln -s '/usr/lib/systemd/system/olpc-boot-finish.service' > > '/etc/systemd/system/graphical.target.wants/olpc-boot-finish.service' > > Nota: Reenviando petición a 'systemctl enable > > plymouth-shutdown-wait.service'. > > ln -s '/usr/lib/systemd/system/plymouth-shutdown-wait.service' > > > '/etc/systemd/system/poweroff.target.wants/plymouth-shutdown-wait.service' > > ln -s '/usr/lib/systemd/system/plymouth-shutdown-wait.service' > > '/etc/systemd/system/halt.target.wants/plymouth-shutdown-wait.service' > > ln -s '/usr/lib/systemd/system/plymouth-shutdown-wait.service' > > '/etc/systemd/system/reboot.target.wants/plymouth-shutdown-wait.service' > > Nota: Reenviando petición a 'systemctl enable powerd.service'. > > Nota: Reenviando petición a 'systemctl enable olpc-kbdshim.service'. > > Nota: Reenviando petición a 'systemctl enable olpc-switchd.service'. > > Nota: Reenviando petición a 'systemctl enable runin-check.service'. > > ln -s '/usr/lib/systemd/system/runin-check.service' > > '/etc/systemd/system/basic.target.wants/runin-check.service' > > Nota: Reenviando petición a 'systemctl disable dnsmasq.service'. > > error al leer la información del servicio ip6tables: No existe el fichero > > o > > el directorio > > error al leer la información del servicio iptables: No existe el fichero > > o > > el directorio > > error al leer la información del servicio mdmonitor: No existe el fichero > > o > > el directorio > > error al leer la información del servicio netfs: No existe el fichero o > > el > > directorio > > Nota: Reenviando petición a 'systemctl disable sshd.service'. > > rm '/etc/systemd/system/multi-user.target.wants/sshd.service' > > Executing code generated by > > kspost:base/kspost.05.mount_shared.nochroot.sh... > > Executing code generated by kspost:base/kspost.10.core.inc... > > Removing password for user olpc. > > passwd: Success > > ln -s '/usr/lib/systemd/system/ds-backup.timer' > > '/etc/systemd/system/multi-user.target.wants/ds-backup.timer' > > Operation failed: No such file or directory > > ERROR:root:Error creating Live CD : %post script failed with code 1 > > That implies that ds-backup-client's rpm is not being installed, that is > included in a stock build unless you have removed the rpm from the listing > in OOB/modules/base/kspkglist.10.core.inc. > > Jerry > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Building a customized image of Sugar .100
I'm trying with AU oob scripts, from https://github.com/godiard/olpc-os-builder/tree/au1b, and using a USB driver, :) to avoid nfs problem, and the generation isn't finishing well, the error showed bellow occurs. I tried with olpc-os-13.2.0-xo1.75.ini configuration file, on a XO 1.75 with 31013o2.zd image, and followed the steps described on: http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware Any idea, what i'm doing wrong ? = Firewall was disabled, unable to convert to zone. No changes to default zone needed. Nota: Reenviando petición a 'systemctl enable olpc-dm.service'. ln -s '/usr/lib/systemd/system/olpc-dm.service' '/etc/systemd/system/display-manager.service' Nota: Reenviando petición a 'systemctl enable olpc-configure.service'. ln -s '/usr/lib/systemd/system/olpc-configure.service' '/etc/systemd/system/basic.target.wants/olpc-configure.service' Nota: Reenviando petición a 'systemctl enable olpc-boot-finish.service'. ln -s '/usr/lib/systemd/system/olpc-boot-finish.service' '/etc/systemd/system/graphical.target.wants/olpc-boot-finish.service' Nota: Reenviando petición a 'systemctl enable plymouth-shutdown-wait.service'. ln -s '/usr/lib/systemd/system/plymouth-shutdown-wait.service' '/etc/systemd/system/poweroff.target.wants/plymouth-shutdown-wait.service' ln -s '/usr/lib/systemd/system/plymouth-shutdown-wait.service' '/etc/systemd/system/halt.target.wants/plymouth-shutdown-wait.service' ln -s '/usr/lib/systemd/system/plymouth-shutdown-wait.service' '/etc/systemd/system/reboot.target.wants/plymouth-shutdown-wait.service' Nota: Reenviando petición a 'systemctl enable powerd.service'. Nota: Reenviando petición a 'systemctl enable olpc-kbdshim.service'. Nota: Reenviando petición a 'systemctl enable olpc-switchd.service'. Nota: Reenviando petición a 'systemctl enable runin-check.service'. ln -s '/usr/lib/systemd/system/runin-check.service' '/etc/systemd/system/basic.target.wants/runin-check.service' Nota: Reenviando petición a 'systemctl disable dnsmasq.service'. error al leer la información del servicio ip6tables: No existe el fichero o el directorio error al leer la información del servicio iptables: No existe el fichero o el directorio error al leer la información del servicio mdmonitor: No existe el fichero o el directorio error al leer la información del servicio netfs: No existe el fichero o el directorio Nota: Reenviando petición a 'systemctl disable sshd.service'. rm '/etc/systemd/system/multi-user.target.wants/sshd.service' Executing code generated by kspost:base/kspost.05.mount_shared.nochroot.sh... Executing code generated by kspost:base/kspost.10.core.inc... Removing password for user olpc. passwd: Success ln -s '/usr/lib/systemd/system/ds-backup.timer' '/etc/systemd/system/multi-user.target.wants/ds-backup.timer' Operation failed: No such file or directory ERROR:root:Error creating Live CD : %post script failed with code 1 INFO:root:Unmounting directory /oob/olpc-os-builder/oob-go/build/imgcreate-SnbRo3/install_root WARNING:root:Unmounting directory /oob/olpc-os-builder/oob-go/build/imgcreate-SnbRo3/install_root failed, using lazy umount Unmounting directory /oob/olpc-os-builder/oob-go/build/imgcreate-SnbRo3/install_root failed, using lazy umount INFO:root:lazy umount succeeded on /oob/olpc-os-builder/oob-go/build/imgcreate-SnbRo3/install_root lazy umount succeeded on /oob/olpc-os-builder/oob-go/build/imgcreate-SnbRo3/install_root INFO:root:Losetup remove /dev/loop0 * Caught error, cleanup and then bail out. * Running part cleanup base cleanup.50.cleanup.sh... * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh... On Fri, Aug 15, 2014 at 10:13 AM, Gustavo Duarte wrote: > Thanks James, I went for the easier way, got a USB FLASH and all working > fine. > > Regards. > > > > > On Sun, Aug 10, 2014 at 9:31 PM, James Cameron wrote: > >> On Sun, Aug 10, 2014 at 12:24:38PM -0300, Gustavo Duarte wrote: >> > fiemap ioctl() failed >> > zhashfs: zhashfs.c:156: read_extents: Assertion `(fiemap != ((void >> *)0))' >> > failed. >> >> The FIEMAP feature is not supported on your NFS. It isn't clear that >> it will remain unsupported; there seems ample mention of the >> combination in a quick Google. >> >> When I built the sparse .zd feature I used a pattern fill of unused >> blocks to recognise them [1], but when Daniel Drake merged this he >> used FIEMAP [2]. >> >> To avoid the problem, you may either: >> >> - use eMMC or SD card, >> >> - use USB FLASH or hard dri
Re: [Sugar-devel] Building a customized image of Sugar .100
Thanks James, I went for the easier way, got a USB FLASH and all working fine. Regards. On Sun, Aug 10, 2014 at 9:31 PM, James Cameron wrote: > On Sun, Aug 10, 2014 at 12:24:38PM -0300, Gustavo Duarte wrote: > > fiemap ioctl() failed > > zhashfs: zhashfs.c:156: read_extents: Assertion `(fiemap != ((void *)0))' > > failed. > > The FIEMAP feature is not supported on your NFS. It isn't clear that > it will remain unsupported; there seems ample mention of the > combination in a quick Google. > > When I built the sparse .zd feature I used a pattern fill of unused > blocks to recognise them [1], but when Daniel Drake merged this he > used FIEMAP [2]. > > To avoid the problem, you may either: > > - use eMMC or SD card, > > - use USB FLASH or hard drive, > > - use the network block device (nbd-server, nbd-client), or; > > - use the loopback block device (losetup) over NFS. > > You can also use a version of bin/zhashfs.c before the change, but you > will also have to change how the empty image is created. > > References: > > [1] > > http://wiki.laptop.org/go/User:Quozl/fs-update-skip-unused-blocks#Pattern_Fill_Unused_Blocks > > [2] > > http://dev.laptop.org/git/projects/olpc-os-builder/commit/?id=bf0e0408ad49a32d733883c3bc832be0717b0298 > > -- > James Cameron > http://quozl.linux.org.au/ > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Building a customized image of Sugar .100
No problem, i'll try again with an .ini without changes to discard errors introduced by me. Regards. Gustavo. On Sun, Aug 10, 2014 at 4:57 PM, Gonzalo Odiard wrote: > No sure. I never tried with a NFS server mount. > > > On Sun, Aug 10, 2014 at 1:55 PM, Gustavo Duarte > wrote: > >> Sorry if wasn't clear enough. >> >> I mounted an ext4 filesystem using NFS. >> >> This is the line I added on the /etc/fstab of my XO: >> >> 192.168.1.132:/var/nfs /mnt/nfs/oob nfs rw,rsize=1024,wsize=1024 0 0 >> >> 192.168.1.132 is the ip address of a NFS server. >> >> If understanding well, using a usb drive wiht ext4 filesystem is >> equivalent to mount a folder from a NFS server with ext4 filesystem. >> >> However I can understand that from the oob side, this escenario could be >> different and may be the cause of the error. >> >> So the question is, does oob works only with USB driver with ext4 >> filesystem ? >> >> Regards. >> >> >> >> On Sun, Aug 10, 2014 at 12:50 PM, Gonzalo Odiard >> wrote: >> >>> You need have a ext3/4 filesystem mounted, not NFS. >>> >>> Gonzalo >>> >>> >>> On Sun, Aug 10, 2014 at 12:24 PM, Gustavo Duarte >>> wrote: >>> >>>> Hi, >>>> >>>> I'm doing some customization and trying to generate a new one Image of >>>> Sugar 100. >>>> >>>> I'm using v7.0 of obb. >>>> >>>> The procdeure finished with the following error: >>>> >>>> * Running part image usb_update image.60.makeusb.sh... >>>> Making USB olpc-update image... >>>> * Running part postimage base postimage.50.core.sh... >>>> Make tree tarball... >>>> Checksum tree tarball... >>>> advertencia:Failed to read auxiliary vector, /proc not mounted? >>>> advertencia:read(/proc/cpuinfo) failed >>>> advertencia:read(/proc/cpuinfo) failed >>>> advertencia:Failed to read auxiliary vector, /proc not mounted? >>>> advertencia:Failed to read auxiliary vector, /proc not mounted? >>>> advertencia:Failed to read auxiliary vector, /proc not mounted? >>>> advertencia:Failed to read auxiliary vector, /proc not mounted? >>>> advertencia:Failed to read auxiliary vector, /proc not mounted? >>>> advertencia:Failed to read auxiliary vector, /proc not mounted? >>>> advertencia:Failed to read auxiliary vector, /proc not mounted? >>>> * Running part postimage sd_card_image postimage.50.makezd.sh... >>>> Making ZD image for 32009xx2.zd... >>>> fiemap ioctl() failed >>>> zhashfs: zhashfs.c:156: read_extents: Assertion `(fiemap != ((void >>>> *)0))' failed. >>>> /mnt/nfs/oob/olpc-os-builder/modules/sd_card_image/ >>>> postimage.50.makezd.sh: línea 10: 27870 Abortado >>>> $bindir/zhashfs 0x2 sha256 $diskimg $output.zsp $output >>>> * Caught error, cleanup and then bail out. >>>> * Running part cleanup base cleanup.50.cleanup.sh... >>>> * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh... >>>> ERROR: Failure in PostImageStage: module sd_card_image, part >>>> postimage.50.makezd.sh, error code 134 >>>> >>>> >>>> One detail, is that i'm using NFS instead USB driver. >>>> >>>> >>>> Any idea what is wrong here ? >>>> >>>> Thanks. >>>> >>>> Gustavo. >>>> >>>> ___ >>>> Sugar-devel mailing list >>>> Sugar-devel@lists.sugarlabs.org >>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>>> >>>> >>> >>> >>> -- >>> Gonzalo Odiard >>> >>> SugarLabs - Software for children learning >>> >> >> >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> >> > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Building a customized image of Sugar .100
Sorry if wasn't clear enough. I mounted an ext4 filesystem using NFS. This is the line I added on the /etc/fstab of my XO: 192.168.1.132:/var/nfs /mnt/nfs/oob nfs rw,rsize=1024,wsize=1024 0 0 192.168.1.132 is the ip address of a NFS server. If understanding well, using a usb drive wiht ext4 filesystem is equivalent to mount a folder from a NFS server with ext4 filesystem. However I can understand that from the oob side, this escenario could be different and may be the cause of the error. So the question is, does oob works only with USB driver with ext4 filesystem ? Regards. On Sun, Aug 10, 2014 at 12:50 PM, Gonzalo Odiard wrote: > You need have a ext3/4 filesystem mounted, not NFS. > > Gonzalo > > > On Sun, Aug 10, 2014 at 12:24 PM, Gustavo Duarte > wrote: > >> Hi, >> >> I'm doing some customization and trying to generate a new one Image of >> Sugar 100. >> >> I'm using v7.0 of obb. >> >> The procdeure finished with the following error: >> >> * Running part image usb_update image.60.makeusb.sh... >> Making USB olpc-update image... >> * Running part postimage base postimage.50.core.sh... >> Make tree tarball... >> Checksum tree tarball... >> advertencia:Failed to read auxiliary vector, /proc not mounted? >> advertencia:read(/proc/cpuinfo) failed >> advertencia:read(/proc/cpuinfo) failed >> advertencia:Failed to read auxiliary vector, /proc not mounted? >> advertencia:Failed to read auxiliary vector, /proc not mounted? >> advertencia:Failed to read auxiliary vector, /proc not mounted? >> advertencia:Failed to read auxiliary vector, /proc not mounted? >> advertencia:Failed to read auxiliary vector, /proc not mounted? >> advertencia:Failed to read auxiliary vector, /proc not mounted? >> advertencia:Failed to read auxiliary vector, /proc not mounted? >> * Running part postimage sd_card_image postimage.50.makezd.sh... >> Making ZD image for 32009xx2.zd... >> fiemap ioctl() failed >> zhashfs: zhashfs.c:156: read_extents: Assertion `(fiemap != ((void *)0))' >> failed. >> /mnt/nfs/oob/olpc-os-builder/modules/sd_card_image/postimage.50.makezd.sh: >> línea 10: 27870 Abortado$bindir/zhashfs 0x2 sha256 >> $diskimg $output.zsp $output >> * Caught error, cleanup and then bail out. >> * Running part cleanup base cleanup.50.cleanup.sh... >> * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh... >> ERROR: Failure in PostImageStage: module sd_card_image, part >> postimage.50.makezd.sh, error code 134 >> >> >> One detail, is that i'm using NFS instead USB driver. >> >> >> Any idea what is wrong here ? >> >> Thanks. >> >> Gustavo. >> >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> >> > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Building a customized image of Sugar .100
Hi, I'm doing some customization and trying to generate a new one Image of Sugar 100. I'm using v7.0 of obb. The procdeure finished with the following error: * Running part image usb_update image.60.makeusb.sh... Making USB olpc-update image... * Running part postimage base postimage.50.core.sh... Make tree tarball... Checksum tree tarball... advertencia:Failed to read auxiliary vector, /proc not mounted? advertencia:read(/proc/cpuinfo) failed advertencia:read(/proc/cpuinfo) failed advertencia:Failed to read auxiliary vector, /proc not mounted? advertencia:Failed to read auxiliary vector, /proc not mounted? advertencia:Failed to read auxiliary vector, /proc not mounted? advertencia:Failed to read auxiliary vector, /proc not mounted? advertencia:Failed to read auxiliary vector, /proc not mounted? advertencia:Failed to read auxiliary vector, /proc not mounted? advertencia:Failed to read auxiliary vector, /proc not mounted? * Running part postimage sd_card_image postimage.50.makezd.sh... Making ZD image for 32009xx2.zd... fiemap ioctl() failed zhashfs: zhashfs.c:156: read_extents: Assertion `(fiemap != ((void *)0))' failed. /mnt/nfs/oob/olpc-os-builder/modules/sd_card_image/postimage.50.makezd.sh: línea 10: 27870 Abortado$bindir/zhashfs 0x2 sha256 $diskimg $output.zsp $output * Caught error, cleanup and then bail out. * Running part cleanup base cleanup.50.cleanup.sh... * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh... ERROR: Failure in PostImageStage: module sd_card_image, part postimage.50.makezd.sh, error code 134 One detail, is that i'm using NFS instead USB driver. Any idea what is wrong here ? Thanks. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
After extract rpms with spell check enabled and once without that, I run "du" command and i found several files on plugins directory were added and some .so increased the size: rpm with spell check enabled: = plugins: 1.3Musr/lib/abiword-2.9/plugins/mathview.so 16M usr/lib/abiword-2.9/plugins/collab.so 52M usr/lib/abiword-2.9/plugins/openxml.so 4.9Musr/lib/abiword-2.9/plugins/opendocument.so lib: 40M usr/lib/libabiword-2.9.so rpm with spell check disabled: = plugins 1.4Musr/lib/abiword-2.9/plugins/collab.so lib: 5.6Musr/lib/libabiword-2.9.so That difference seems make a sense, so I think all is right. Thanks Gonzalo for compile that. Regards. On Fri, Jul 11, 2014 at 11:50 AM, Gonzalo Odiard wrote: > On Fri, Jul 11, 2014 at 11:20 AM, Peter Robinson > wrote: > >> On Fri, Jul 11, 2014 at 3:02 PM, Gustavo Duarte >> wrote: >> > Gonzalo, >> > The test finished success. A doubt, for some reasons abiwordlib grows >> from 4 >> > Mb to 40 mb. Is it right? >> >> Dictionaries? >> >> > In theory, dictionaries are provided by aspell. > > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Gonzalo, The test finished success. A doubt, for some reasons abiwordlib grows from 4 Mb to 40 mb. Is it right? Regards. On Tue, Jul 8, 2014 at 8:44 AM, Gustavo Duarte wrote: > Gonzalo, thanks, we are this new ones rpms. > > I'll let you know the results. > > Regards. > > > > > On Thu, Jul 3, 2014 at 11:31 AM, Peter Robinson > wrote: > >> >> I would definitely recommend mock for the purpose of building, it has >> >> the added advantage you can run it on a faster ARM device that's >> >> supported on newer releases of Fedora, such as a wandboard quad, while >> >> still building the release you need using the release repositories. >> >> >> >> Peter >> > >> > >> > But I can't compile to ARM on intel platform, right? >> >> Nope >> > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Gonzalo, thanks, we are this new ones rpms. I'll let you know the results. Regards. On Thu, Jul 3, 2014 at 11:31 AM, Peter Robinson wrote: > >> I would definitely recommend mock for the purpose of building, it has > >> the added advantage you can run it on a faster ARM device that's > >> supported on newer releases of Fedora, such as a wandboard quad, while > >> still building the release you need using the release repositories. > >> > >> Peter > > > > > > But I can't compile to ARM on intel platform, right? > > Nope > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Thanks Gonzalo, next week i'm going to try again, On Tue, Jul 1, 2014 at 3:15 PM, Gonzalo Odiard wrote: > HI Gustavo, > I found is needed install the rpm mesa-libglapi too. > No idea if this was not needed before, but I will add it as dependency to > the .spec > > Gonzalo > > > On Sun, Jun 29, 2014 at 9:48 AM, Peter Robinson > wrote: > >> >> Some question about. compilation on ARM, what XO image are you using >> to >> >> make compilation process ? >> >> You are using an XO 1.75 or XO4 for compile ? >> >> >> > >> > I use XO-4, but is he same on XO-1.75. >> > Just remember set --target=armv7hl >> > >> > >> >> >> >> >> >> Because if I use current Ceibal image to compile, lot of rpms must be >> >> downloaded to resolve dependences and some of these rpms broke the UI >> >> graphic interface. After install these dependences I can't use the XO >> on >> >> graphic mode, only in text mode. >> >> >> > >> > Maybe you can try use mock? >> >> I would definitely recommend mock for the purpose of building, it has >> the added advantage you can run it on a faster ARM device that's >> supported on newer releases of Fedora, such as a wandboard quad, while >> still building the release you need using the release repositories. >> >> Peter >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> > > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Gonzalo, I tried compile abiword and an error was arised: === /lib/libGL.so.1: undefined reference to `_glapi_tls_Dispatch' collect2: error: ld returned 1 exit status linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', 'gcc', '-o', '/home/olpc/rpmbuild/BUILD/abiword-20121011/src/tmp-introspectvc_75D/Abi-2.9', '-export-dynamic', '-O2', '-g', '-pipe', '-Wall', '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '-fstack-protector', '--param=ssp-buffer-size=4', '-march=armv7-a', '-mfpu=vfpv3-d16', '-mfloat-abi=hard', '-Wl,-z,relro', '/home/olpc/rpmbuild/BUILD/abiword-20121011/src/tmp-introspectvc_75D/Abi-2.9.o', '-L.', 'libabiword-2.9.la', '-Wl,--export-dynamic', '-pthread', '-lgio-2.0', '-lgmodule-2.0', '-lrt', '-lgsf-1', '-lgobject-2.0', '-lxml2', '-lglib-2.0']' returned non-zero exit status 1 make[3]: *** [Abi-2.9.gir] Error 1 make[3]: Leaving directory `/home/olpc/rpmbuild/BUILD/abiword-20121011/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/olpc/rpmbuild/BUILD/abiword-20121011/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/olpc/rpmbuild/BUILD/abiword-20121011' make: *** [all] Error 2 error: Estado de salida erróneo de /var/tmp/rpm-tmp.0FH9IJ (%build) === Have you seen this type of error before ? I did that on a XO 1.75 with an Dextrose image, I'm guessing that could be the reason. What image are you using for compile ? Thanks. Gustavo. On Wed, Jun 25, 2014 at 12:32 PM, Gonzalo Odiard wrote: > >> Some question about. compilation on ARM, what XO image are you using to >> make compilation process ? >> You are using an XO 1.75 or XO4 for compile ? >> >> > I use XO-4, but is he same on XO-1.75. > Just remember set *--target=armv7hl* > > > >> >> Because if I use current Ceibal image to compile, lot of rpms must be >> downloaded to resolve dependences and some of these rpms broke the UI >> graphic interface. After install these dependences I can't use the XO on >> graphic mode, only in text mode. >> >> > Maybe you can try use mock? > > >> >> Regards. >> >> Gustavo >> >> >> >> >> >> On Tue, Jun 24, 2014 at 12:23 PM, Gonzalo Odiard >> wrote: >> >>> First of all, are you sure the only change is the rpm? >>> >>> What version of Fedora and Sugar are you using on the image? >>> >>> More comments below: >>> >>> >>> On Tue, Jun 24, 2014 at 9:13 AM, Gustavo Duarte >>> wrote: >>> >>>> Gonzalo, >>>> >>>> Ceibal, did more intense test and found following issues: >>>> >>>> Blind accessibility (Boca): >>>> === >>>> After click on play button, the activity is gone and to back to >>>> activity a reboot is needed. >>>> >>>> >>> Note: This is only "text to speech", not blind accessibility. >>> >>> Can be related to http://bugs.sugarlabs.org/ticket/3694 ? >>> >>> >>> >>>> >>>> Pre determinate formats: >>>> == >>>> No modification is showed after modify the header. >>>> >>>> >>> I don't understand this. Can you provide more information? >>> >>> >>>> >>>> File Export >>>> = >>>> Error when you try save as pdf, html, txt or rtf, The activity will >>>> close and a reboot is needed to go back >>>> >>>> >>> This happen with the last version of Write? >>> >>> >>>> >>>> >>>> So, I think these rpm aren't the right one, i'm not sure what changes >>>> have these rpms and who compiled it. >>>> >>>> One way, iMHO, could be re-compile the currently rpms ( >>>> abiword-2.9.3-1.git20121011.fc18.olpc.armv7hl.rpm) with check spelling >>>> enabled, and try again. >>>> >>>> >>> If is useful for you, the src rpm is here >>> >>> >>> http://harvest.one-education.org/public/au1b-updates/SRPMS/abiword-2.9.3-1.git20121011.fc18.olpc12.src.rpm >>&g
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Hi Gonzalo, I'm using: Fedora 18 Sugar 0.98.8 I tried with Write 86 and the latest Write 94 and same issues happened. If I went back to abiword and libabirword abiword-2.9.3-1.git20121011.fc18.olpc12.rpm <http://harvest.one-education.org/public/au1b-updates/SRPMS/abiword-2.9.3-1.git20121011.fc18.olpc12.src.rpm> these problems were resolved, but check-spelling remain disabled (of course). So my plan is compile abiword from the source you attached with check spelling enabled. Some question about. compilation on ARM, what XO image are you using to make compilation process ? You are using an XO 1.75 or XO4 for compile ? Because if I use current Ceibal image to compile, lot of rpms must be downloaded to resolve dependences and some of these rpms broke the UI graphic interface. After install these dependences I can't use the XO on graphic mode, only in text mode. Regards. Gustavo On Tue, Jun 24, 2014 at 12:23 PM, Gonzalo Odiard wrote: > First of all, are you sure the only change is the rpm? > > What version of Fedora and Sugar are you using on the image? > > More comments below: > > > On Tue, Jun 24, 2014 at 9:13 AM, Gustavo Duarte > wrote: > >> Gonzalo, >> >> Ceibal, did more intense test and found following issues: >> >> Blind accessibility (Boca): >> === >> After click on play button, the activity is gone and to back to activity >> a reboot is needed. >> >> > Note: This is only "text to speech", not blind accessibility. > > Can be related to http://bugs.sugarlabs.org/ticket/3694 ? > > > >> >> Pre determinate formats: >> == >> No modification is showed after modify the header. >> >> > I don't understand this. Can you provide more information? > > >> >> File Export >> = >> Error when you try save as pdf, html, txt or rtf, The activity will close >> and a reboot is needed to go back >> >> > This happen with the last version of Write? > > >> >> >> So, I think these rpm aren't the right one, i'm not sure what changes >> have these rpms and who compiled it. >> >> One way, iMHO, could be re-compile the currently rpms ( >> abiword-2.9.3-1.git20121011.fc18.olpc.armv7hl.rpm) with check spelling >> enabled, and try again. >> >> > If is useful for you, the src rpm is here > > > http://harvest.one-education.org/public/au1b-updates/SRPMS/abiword-2.9.3-1.git20121011.fc18.olpc12.src.rpm > > Gonzalo > > > >> It currently abiword rpm, we know that works fine, the only issue is the >> check-spelling. >> >> >> I was trying the compilation procedure, but I had a lot of dependence >> problem. >> >> >> Regards. >> >> Gustavo. >> >> >> >> >> On Sat, Jun 21, 2014 at 9:56 PM, Gonzalo Odiard >> wrote: >> >>> Thanks, will test here, and do a new release. >>> >>> Gonzalo >>> >>> >>> On Fri, Jun 20, 2014 at 11:18 AM, Gustavo Duarte >>> wrote: >>> >>>> Sorry for the delay. >>>> >>>> The changes were: >>>> >>>> 1) Uninstall the the currently abiword rpms >>>> >>>> 2) Install (downloaded from http://xs-dev.laptop.org/~dsd/repos/f18/) >>>> - abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm >>>> - libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm. >>>> >>>> 3) To enable the suggestion menu, edit the file, keybindings.xml from >>>> Write.Activivity folder, and comment contextMisspellingText line lke: >>>> >>>> >>>> >>>> Regards. >>>> >>>> Gustavo. >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Jun 16, 2014 at 11:51 AM, Gonzalo Odiard >>> > wrote: >>>> >>>>> Can you share the change you did? >>>>> >>>>> Gonzalo >>>>> >>>>> >>>>> On Mon, Jun 16, 2014 at 11:47 AM, Gustavo Duarte >>>> > wrote: >>>>> >>>>>> Yeap, I did that, also. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Jun 16, 2014 at 11:27 AM, Gonzalo Odiard < >>>>>> godi...@sugarlabs.org> wrote: >>>>>> >>>>>>> Thanks Gustavo. Maybe the slowness was related to other issue? >>>>>>> Did you enabled th
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Gonzalo, Ceibal, did more intense test and found following issues: Blind accessibility (Boca): === After click on play button, the activity is gone and to back to activity a reboot is needed. Pre determinate formats: == No modification is showed after modify the header. File Export = Error when you try save as pdf, html, txt or rtf, The activity will close and a reboot is needed to go back So, I think these rpm aren't the right one, i'm not sure what changes have these rpms and who compiled it. One way, iMHO, could be re-compile the currently rpms ( abiword-2.9.3-1.git20121011.fc18.olpc.armv7hl.rpm) with check spelling enabled, and try again. It currently abiword rpm, we know that works fine, the only issue is the check-spelling. I was trying the compilation procedure, but I had a lot of dependence problem. Regards. Gustavo. On Sat, Jun 21, 2014 at 9:56 PM, Gonzalo Odiard wrote: > Thanks, will test here, and do a new release. > > Gonzalo > > > On Fri, Jun 20, 2014 at 11:18 AM, Gustavo Duarte > wrote: > >> Sorry for the delay. >> >> The changes were: >> >> 1) Uninstall the the currently abiword rpms >> >> 2) Install (downloaded from http://xs-dev.laptop.org/~dsd/repos/f18/) >> - abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm >> - libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm. >> >> 3) To enable the suggestion menu, edit the file, keybindings.xml from >> Write.Activivity folder, and comment contextMisspellingText line lke: >> >> >> >> Regards. >> >> Gustavo. >> >> >> >> >> >> On Mon, Jun 16, 2014 at 11:51 AM, Gonzalo Odiard >> wrote: >> >>> Can you share the change you did? >>> >>> Gonzalo >>> >>> >>> On Mon, Jun 16, 2014 at 11:47 AM, Gustavo Duarte >>> wrote: >>> >>>> Yeap, I did that, also. >>>> >>>> >>>> >>>> >>>> On Mon, Jun 16, 2014 at 11:27 AM, Gonzalo Odiard >>> > wrote: >>>> >>>>> Thanks Gustavo. Maybe the slowness was related to other issue? >>>>> Did you enabled the suggestions menu? >>>>> >>>>> Gonzalo >>>>> >>>>> >>>>> On Mon, Jun 16, 2014 at 11:12 AM, Gustavo Duarte >>>> > wrote: >>>>> >>>>>> These rpms were compiled with check-spelling enabled. >>>>>> >>>>>> >>>>>> On Mon, Jun 16, 2014 at 11:11 AM, Gustavo Duarte < >>>>>> gus.dua...@gmail.com> wrote: >>>>>> >>>>>>> Just to update you, about how we resolve this issue. >>>>>>> >>>>>>> We change abiword rpms, >>>>>>> by abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm >>>>>>> libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm. >>>>>>> >>>>>>> These rpms were found on: http://xs-dev.laptop.org/~dsd/repos/f18/ >>>>>>> >>>>>>> We made several tests, and didn't perceive slowness. >>>>>>> >>>>>>> Regards. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Jun 3, 2014 at 7:29 PM, Gustavo Duarte >>>>>> > wrote: >>>>>>> >>>>>>>> Many Thanks Gonzalo, I'm going to do some test with spell check >>>>>>>> enabled and let you know the results. >>>>>>>> >>>>>>>> Regards. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Jun 3, 2014 at 12:36 PM, Gonzalo Odiard < >>>>>>>> godi...@sugarlabs.org> wrote: >>>>>>>> >>>>>>>>> Hi Gustavo, >>>>>>>>> We disabled spell checking in abiword rpms, because made Write >>>>>>>>> activity very slow [1] >>>>>>>>> You can compile rpms with the spell enabled using the specs and >>>>>>>>> patches located here [2] >>>>>>>>> The ideal solution would be find the slowness reason. >>>>>>>>> Surely will need work on the abiword sources. >>>>>>>>> >>>>>>>>> Gonzalo >>>>>>>>> >>>>>&
[Sugar-devel] Fwd: Write Activity on XO-4, spell check isn't working
I forgot include the list on the replay. -- Forwarded message -- From: Gustavo Duarte Date: Fri, Jun 20, 2014 at 11:18 AM Subject: Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working To: Gonzalo Odiard Sorry for the delay. The changes were: 1) Uninstall the the currently abiword rpms 2) Install (downloaded from http://xs-dev.laptop.org/~dsd/repos/f18/) - abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm - libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm. 3) To enable the suggestion menu, edit the file, keybindings.xml from Write.Activivity folder, and comment contextMisspellingText line lke: Regards. Gustavo. On Mon, Jun 16, 2014 at 11:51 AM, Gonzalo Odiard wrote: > Can you share the change you did? > > Gonzalo > > > On Mon, Jun 16, 2014 at 11:47 AM, Gustavo Duarte > wrote: > >> Yeap, I did that, also. >> >> >> >> >> On Mon, Jun 16, 2014 at 11:27 AM, Gonzalo Odiard >> wrote: >> >>> Thanks Gustavo. Maybe the slowness was related to other issue? >>> Did you enabled the suggestions menu? >>> >>> Gonzalo >>> >>> >>> On Mon, Jun 16, 2014 at 11:12 AM, Gustavo Duarte >>> wrote: >>> >>>> These rpms were compiled with check-spelling enabled. >>>> >>>> >>>> On Mon, Jun 16, 2014 at 11:11 AM, Gustavo Duarte >>>> wrote: >>>> >>>>> Just to update you, about how we resolve this issue. >>>>> >>>>> We change abiword rpms, >>>>> by abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm >>>>> libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm. >>>>> >>>>> These rpms were found on: http://xs-dev.laptop.org/~dsd/repos/f18/ >>>>> >>>>> We made several tests, and didn't perceive slowness. >>>>> >>>>> Regards. >>>>> >>>>> >>>>> >>>>> On Tue, Jun 3, 2014 at 7:29 PM, Gustavo Duarte >>>>> wrote: >>>>> >>>>>> Many Thanks Gonzalo, I'm going to do some test with spell check >>>>>> enabled and let you know the results. >>>>>> >>>>>> Regards. >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jun 3, 2014 at 12:36 PM, Gonzalo Odiard < >>>>>> godi...@sugarlabs.org> wrote: >>>>>> >>>>>>> Hi Gustavo, >>>>>>> We disabled spell checking in abiword rpms, because made Write >>>>>>> activity very slow [1] >>>>>>> You can compile rpms with the spell enabled using the specs and >>>>>>> patches located here [2] >>>>>>> The ideal solution would be find the slowness reason. >>>>>>> Surely will need work on the abiword sources. >>>>>>> >>>>>>> Gonzalo >>>>>>> >>>>>>> [1] http://bugs.sugarlabs.org/ticket/4124 >>>>>>> [2] https://git.sugarlabs.org/olpc-abiword-rpm >>>>>>> >>>>>>> >>>>>>> On Tue, Jun 3, 2014 at 10:56 AM, Gustavo Duarte < >>>>>>> gus.dua...@gmail.com> wrote: >>>>>>> >>>>>>>> Hi guys, >>>>>>>> >>>>>>>> The spell check, on write activity of my XO-4 touch, I mean when I >>>>>>>> write a word misspelled, it isn't red underlined. >>>>>>>> >>>>>>>> I'm using Write Activity 94 version downloaded from SugarLabs >>>>>>>> Activities page. >>>>>>>> >>>>>>>> Also I verified that the following packages are installed already: >>>>>>>> >>>>>>>> - enchant-aspell-1.6.0-5.fc18.armv7hl >>>>>>>> - aspell-0.60.6.1-5.fc18.armv7hl >>>>>>>> - aspell-es-1.11-4.fc18.armv7hl >>>>>>>> >>>>>>>> Thought about what it's happening here ? >>>>>>>> >>>>>>>> Thanks in advance. >>>>>>>> >>>>>>>> Gustavo. >>>>>>>> >>>>>>>> ___ >>>>>>>> Sugar-devel mailing list >>>>>>>> Sugar-devel@lists.sugarlabs.org >>>>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Gonzalo Odiard >>>>>>> >>>>>>> SugarLabs - Software for children learning >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >>> >>> -- >>> Gonzalo Odiard >>> >>> SugarLabs - Software for children learning >>> >> >> > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Yeap, I did that, also. On Mon, Jun 16, 2014 at 11:27 AM, Gonzalo Odiard wrote: > Thanks Gustavo. Maybe the slowness was related to other issue? > Did you enabled the suggestions menu? > > Gonzalo > > > On Mon, Jun 16, 2014 at 11:12 AM, Gustavo Duarte > wrote: > >> These rpms were compiled with check-spelling enabled. >> >> >> On Mon, Jun 16, 2014 at 11:11 AM, Gustavo Duarte >> wrote: >> >>> Just to update you, about how we resolve this issue. >>> >>> We change abiword rpms, >>> by abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm >>> libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm. >>> >>> These rpms were found on: http://xs-dev.laptop.org/~dsd/repos/f18/ >>> >>> We made several tests, and didn't perceive slowness. >>> >>> Regards. >>> >>> >>> >>> On Tue, Jun 3, 2014 at 7:29 PM, Gustavo Duarte >>> wrote: >>> >>>> Many Thanks Gonzalo, I'm going to do some test with spell check enabled >>>> and let you know the results. >>>> >>>> Regards. >>>> >>>> >>>> >>>> On Tue, Jun 3, 2014 at 12:36 PM, Gonzalo Odiard >>>> wrote: >>>> >>>>> Hi Gustavo, >>>>> We disabled spell checking in abiword rpms, because made Write >>>>> activity very slow [1] >>>>> You can compile rpms with the spell enabled using the specs and >>>>> patches located here [2] >>>>> The ideal solution would be find the slowness reason. >>>>> Surely will need work on the abiword sources. >>>>> >>>>> Gonzalo >>>>> >>>>> [1] http://bugs.sugarlabs.org/ticket/4124 >>>>> [2] https://git.sugarlabs.org/olpc-abiword-rpm >>>>> >>>>> >>>>> On Tue, Jun 3, 2014 at 10:56 AM, Gustavo Duarte >>>>> wrote: >>>>> >>>>>> Hi guys, >>>>>> >>>>>> The spell check, on write activity of my XO-4 touch, I mean when I >>>>>> write a word misspelled, it isn't red underlined. >>>>>> >>>>>> I'm using Write Activity 94 version downloaded from SugarLabs >>>>>> Activities page. >>>>>> >>>>>> Also I verified that the following packages are installed already: >>>>>> >>>>>> - enchant-aspell-1.6.0-5.fc18.armv7hl >>>>>> - aspell-0.60.6.1-5.fc18.armv7hl >>>>>> - aspell-es-1.11-4.fc18.armv7hl >>>>>> >>>>>> Thought about what it's happening here ? >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>>> Gustavo. >>>>>> >>>>>> ___ >>>>>> Sugar-devel mailing list >>>>>> Sugar-devel@lists.sugarlabs.org >>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Gonzalo Odiard >>>>> >>>>> SugarLabs - Software for children learning >>>>> >>>> >>>> >>> >> > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
These rpms were compiled with check-spelling enabled. On Mon, Jun 16, 2014 at 11:11 AM, Gustavo Duarte wrote: > Just to update you, about how we resolve this issue. > > We change abiword rpms, > by abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm > libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm. > > These rpms were found on: http://xs-dev.laptop.org/~dsd/repos/f18/ > > We made several tests, and didn't perceive slowness. > > Regards. > > > > On Tue, Jun 3, 2014 at 7:29 PM, Gustavo Duarte > wrote: > >> Many Thanks Gonzalo, I'm going to do some test with spell check enabled >> and let you know the results. >> >> Regards. >> >> >> >> On Tue, Jun 3, 2014 at 12:36 PM, Gonzalo Odiard >> wrote: >> >>> Hi Gustavo, >>> We disabled spell checking in abiword rpms, because made Write activity >>> very slow [1] >>> You can compile rpms with the spell enabled using the specs and patches >>> located here [2] >>> The ideal solution would be find the slowness reason. >>> Surely will need work on the abiword sources. >>> >>> Gonzalo >>> >>> [1] http://bugs.sugarlabs.org/ticket/4124 >>> [2] https://git.sugarlabs.org/olpc-abiword-rpm >>> >>> >>> On Tue, Jun 3, 2014 at 10:56 AM, Gustavo Duarte >>> wrote: >>> >>>> Hi guys, >>>> >>>> The spell check, on write activity of my XO-4 touch, I mean when I >>>> write a word misspelled, it isn't red underlined. >>>> >>>> I'm using Write Activity 94 version downloaded from SugarLabs >>>> Activities page. >>>> >>>> Also I verified that the following packages are installed already: >>>> >>>> - enchant-aspell-1.6.0-5.fc18.armv7hl >>>> - aspell-0.60.6.1-5.fc18.armv7hl >>>> - aspell-es-1.11-4.fc18.armv7hl >>>> >>>> Thought about what it's happening here ? >>>> >>>> Thanks in advance. >>>> >>>> Gustavo. >>>> >>>> ___ >>>> Sugar-devel mailing list >>>> Sugar-devel@lists.sugarlabs.org >>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>>> >>>> >>> >>> >>> -- >>> Gonzalo Odiard >>> >>> SugarLabs - Software for children learning >>> >> >> > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Just to update you, about how we resolve this issue. We change abiword rpms, by abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm. These rpms were found on: http://xs-dev.laptop.org/~dsd/repos/f18/ We made several tests, and didn't perceive slowness. Regards. On Tue, Jun 3, 2014 at 7:29 PM, Gustavo Duarte wrote: > Many Thanks Gonzalo, I'm going to do some test with spell check enabled > and let you know the results. > > Regards. > > > > On Tue, Jun 3, 2014 at 12:36 PM, Gonzalo Odiard > wrote: > >> Hi Gustavo, >> We disabled spell checking in abiword rpms, because made Write activity >> very slow [1] >> You can compile rpms with the spell enabled using the specs and patches >> located here [2] >> The ideal solution would be find the slowness reason. >> Surely will need work on the abiword sources. >> >> Gonzalo >> >> [1] http://bugs.sugarlabs.org/ticket/4124 >> [2] https://git.sugarlabs.org/olpc-abiword-rpm >> >> >> On Tue, Jun 3, 2014 at 10:56 AM, Gustavo Duarte >> wrote: >> >>> Hi guys, >>> >>> The spell check, on write activity of my XO-4 touch, I mean when I write >>> a word misspelled, it isn't red underlined. >>> >>> I'm using Write Activity 94 version downloaded from SugarLabs Activities >>> page. >>> >>> Also I verified that the following packages are installed already: >>> >>> - enchant-aspell-1.6.0-5.fc18.armv7hl >>> - aspell-0.60.6.1-5.fc18.armv7hl >>> - aspell-es-1.11-4.fc18.armv7hl >>> >>> Thought about what it's happening here ? >>> >>> Thanks in advance. >>> >>> Gustavo. >>> >>> ___ >>> Sugar-devel mailing list >>> Sugar-devel@lists.sugarlabs.org >>> http://lists.sugarlabs.org/listinfo/sugar-devel >>> >>> >> >> >> -- >> Gonzalo Odiard >> >> SugarLabs - Software for children learning >> > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Write Activity on XO-4, spell check isn't working
Many Thanks Gonzalo, I'm going to do some test with spell check enabled and let you know the results. Regards. On Tue, Jun 3, 2014 at 12:36 PM, Gonzalo Odiard wrote: > Hi Gustavo, > We disabled spell checking in abiword rpms, because made Write activity > very slow [1] > You can compile rpms with the spell enabled using the specs and patches > located here [2] > The ideal solution would be find the slowness reason. > Surely will need work on the abiword sources. > > Gonzalo > > [1] http://bugs.sugarlabs.org/ticket/4124 > [2] https://git.sugarlabs.org/olpc-abiword-rpm > > > On Tue, Jun 3, 2014 at 10:56 AM, Gustavo Duarte > wrote: > >> Hi guys, >> >> The spell check, on write activity of my XO-4 touch, I mean when I write >> a word misspelled, it isn't red underlined. >> >> I'm using Write Activity 94 version downloaded from SugarLabs Activities >> page. >> >> Also I verified that the following packages are installed already: >> >> - enchant-aspell-1.6.0-5.fc18.armv7hl >> - aspell-0.60.6.1-5.fc18.armv7hl >> - aspell-es-1.11-4.fc18.armv7hl >> >> Thought about what it's happening here ? >> >> Thanks in advance. >> >> Gustavo. >> >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> >> > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Write Activity on XO-4, spell check isn't working
Hi guys, The spell check, on write activity of my XO-4 touch, I mean when I write a word misspelled, it isn't red underlined. I'm using Write Activity 94 version downloaded from SugarLabs Activities page. Also I verified that the following packages are installed already: - enchant-aspell-1.6.0-5.fc18.armv7hl - aspell-0.60.6.1-5.fc18.armv7hl - aspell-es-1.11-4.fc18.armv7hl Thought about what it's happening here ? Thanks in advance. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Browse activity and FTP sites support
Here you can see responses from Webkit-gtk list, seems like, this feature isn't supported yet. https://lists.webkit.org/pipermail/webkit-gtk/2014-April/001877.html Regards. Gustavo. On Tue, Apr 22, 2014 at 6:24 AM, Gustavo Duarte wrote: > Thanks Manuel, I'll write to WebkitGTK list, and let you know any news > from they. > > Regards. > > > On Wed, Apr 16, 2014 at 2:41 PM, Manuel Quiñones wrote: > >> 2014-04-16 9:45 GMT-03:00 Gustavo Duarte : >> > Hi Manuel, >> > >> > I installed Web 3.4.1 and going to >> > >> ftp://descargas.ceibal.edu.uy/espacio_tecnico/actividades/dx4/base/arm/Read-106.1.xo >> > >> > Following error is showed. >> > >> > Oops! It was not possible to show this website >> > >> > The website >> > atftp:// >> descargas.ceibal.edu.uy/espacio_tecnico/actividades/dx4/base/arm/Read-106.1.xo >> > seems to be unavailable. The precise error was: >> > >> > URL cannot be shown >> > >> > It could be temporarily switched off or moved to a new address. Don't >> forget >> > to check that your internet connection is working correctly. >> >> Ouch. >> >> > So what could be the next step on this research? >> >> You can try writting to WebKitGTK mailing list. They should be able >> to tell you if it is a bug or is on purpose. There are special >> applications for navigating FTP so one option is that they discourage >> ftp navigation in the browser. >> >> -- >> .. manuq .. >> > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Browse activity and FTP sites support
Thanks Manuel, I'll write to WebkitGTK list, and let you know any news from they. Regards. On Wed, Apr 16, 2014 at 2:41 PM, Manuel Quiñones wrote: > 2014-04-16 9:45 GMT-03:00 Gustavo Duarte : > > Hi Manuel, > > > > I installed Web 3.4.1 and going to > > > ftp://descargas.ceibal.edu.uy/espacio_tecnico/actividades/dx4/base/arm/Read-106.1.xo > > > > Following error is showed. > > > > Oops! It was not possible to show this website > > > > The website > > atftp:// > descargas.ceibal.edu.uy/espacio_tecnico/actividades/dx4/base/arm/Read-106.1.xo > > seems to be unavailable. The precise error was: > > > > URL cannot be shown > > > > It could be temporarily switched off or moved to a new address. Don't > forget > > to check that your internet connection is working correctly. > > Ouch. > > > So what could be the next step on this research? > > You can try writting to WebKitGTK mailing list. They should be able > to tell you if it is a bug or is on purpose. There are special > applications for navigating FTP so one option is that they discourage > ftp navigation in the browser. > > -- > .. manuq .. > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Browse activity and FTP sites support
Hi Manuel, I installed Web 3.4.1 and going to ftp://descargas.ceibal.edu.uy/espacio_tecnico/actividades/dx4/base/arm/Read-106.1.xo Following error is showed. Oops! It was not possible to show this website The website at*ftp://descargas.ceibal.edu.uy/espacio_tecnico/actividades/dx4/base/arm/Read-106.1.xo <ftp://descargas.ceibal.edu.uy/espacio_tecnico/actividades/dx4/base/arm/Read-106.1.xo>* seems to be unavailable. The precise error was: *URL cannot be shown* It could be temporarily switched off or moved to a new address. Don't forget to check that your internet connection is working correctly. So what could be the next step on this research? Regards. Gustavo On Mon, Apr 14, 2014 at 11:10 AM, Manuel Quiñones wrote: > 2014-04-14 9:05 GMT-03:00 Gustavo Duarte : > > Hi folks, > > > > I'm having problems browsing on FTP sites in Browse activity. > > > > I'm using Browse activity version 156, I guess that is the last, right ? > > > > > > When I went to ftp, url like: ftp://debian.netcologne.de/debian-cd, a > page > > error was showed saying: > > > > "This wep page couldn't be loaded" > > Try again. > > > > > > I added on browse.py file a log on line 736, like this: > > > > logging.warning('load_eror_cb, uri: ' + uri + ' | web error code: '+ > > str(web_error.code)) > > > > > > The line showed when running Browse activity is: > > > > 1397314748.301408 WARNING root: load_eror_cb, uri: > > ftp://debian.netcologne.de/debian-cd | web error code: 101 > > > > > > So the Web error code reporting by Webkit is 101, what means ? > > The WebkitGTK docs are weak here, but I think is a Soup status code: > > https://developer.gnome.org/libsoup/unstable/libsoup-2.4-soup-status.html > > > > > Has Webkit support for browsing on FTP sites ? > > Have you tried Epiphany? If it works there, I would look at their source > code. > > > > > Thanks in advance. > > > > Gustavo. > > ___ > > Sugar-devel mailing list > > Sugar-devel@lists.sugarlabs.org > > http://lists.sugarlabs.org/listinfo/sugar-devel > > > > -- > .. manuq .. > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Browse activity and FTP sites support
Hi folks, I'm having problems browsing on FTP sites in Browse activity. I'm using Browse activity version 156, I guess that is the last, right ? When I went to ftp, url like: ftp://debian.netcologne.de/debian-cd, a page error was showed saying: "This wep page couldn't be loaded" Try again. I added on browse.py file a log on line 736, like this: logging.warning('load_eror_cb, uri: ' + uri + ' | web error code: '+ str(web_error.code)) The line showed when running Browse activity is: 1397314748.301408 WARNING root: load_eror_cb, uri: ftp://debian.netcologne.de/debian-cd | web error code: 101 So the Web error code reporting by Webkit is 101, what means ? Has Webkit support for browsing on FTP sites ? Thanks in advance. Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] git sugarlabs is down
Hi guys, Is git.sugarlabs.org service down ? Somebody know something ? Gustavo. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel