[Sugar-devel] OLPC ext3 image for Qemu- Error 404

2013-01-23 Thread Kartik Kumar Perisetla
Hi,

I am trying to setup the Sugar environment using qemu. I am trying to
download the ext3 images from link*
http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/*
which is provided on http://wiki.laptop.org/go/Testing_ideas. But I can see
that the link is no longer valid for downloading the ext3 images.

It would be great if someone could provide the URL from where I can
download ext3 OLPC images for qemu.

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


[Sugar-devel] Query regarding /usr/bin/sugar-activity

2013-01-23 Thread Ajay Garg
Hi all.

What is the package, that  contains the binary /usr/bin/sugar-activity?
Very surprisingly, it is not a part of sugar :-\


Thanks in advance :)


Regards,

Ajay Garg
Dextrose Developer
Activity Central: http://activitycentral.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Query regarding /usr/bin/sugar-activity

2013-01-23 Thread Ajay Garg
Ahh... just figured it out - sugar-toolkit-gtk3 :D

On Wed, Jan 23, 2013 at 4:34 PM, Ajay Garg a...@activitycentral.com wrote:

 Hi all.

 What is the package, that  contains the binary /usr/bin/sugar-activity?
 Very surprisingly, it is not a part of sugar :-\


 Thanks in advance :)


 Regards,

 Ajay Garg
 Dextrose Developer
 Activity Central: http://activitycentral.com




-- 
Regards,

Ajay Garg
Dextrose Developer
Activity Central: http://activitycentral.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] OLPC ext3 image for Qemu- Error 404

2013-01-23 Thread Samuel Greenfeld
OLPC has not provided qemu images for a while, so that wiki page is
outdated.

If you want a premade update-to-date Sugar virtual machine, you can go to
http://wiki.sugarlabs.org/go/Emulator_image_files and download one from
there.

Alternatively you can go to http://spins.fedoraproject.org/soas/ , download
the ISO image of a CD-ROM, and use the liveinst program in a Linux
Terminal to install the software to a virtual hard drive and make your own.


On Wed, Jan 23, 2013 at 5:16 AM, Kartik Kumar Perisetla 
kartik.p...@gmail.com wrote:

 Hi,

 I am trying to setup the Sugar environment using qemu. I am trying to
 download the ext3 images from link*
 http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/*
 which is provided on http://wiki.laptop.org/go/Testing_ideas. But I can
 see that the link is no longer valid for downloading the ext3 images.

 It would be great if someone could provide the URL from where I can
 download ext3 OLPC images for qemu.

 Cheers!
 Kartik

 ___
 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] OLPC ext3 image for Qemu- Error 404

2013-01-23 Thread Kartik Kumar Perisetla
Thanks Samuel.
That helped !


On Wed, Jan 23, 2013 at 4:52 PM, Samuel Greenfeld greenf...@laptop.orgwrote:

 OLPC has not provided qemu images for a while, so that wiki page is
 outdated.

 If you want a premade update-to-date Sugar virtual machine, you can go to
 http://wiki.sugarlabs.org/go/Emulator_image_files and download one from
 there.

 Alternatively you can go to http://spins.fedoraproject.org/soas/ ,
 download the ISO image of a CD-ROM, and use the liveinst program in a
 Linux Terminal to install the software to a virtual hard drive and make
 your own.


 On Wed, Jan 23, 2013 at 5:16 AM, Kartik Kumar Perisetla 
 kartik.p...@gmail.com wrote:

 Hi,

 I am trying to setup the Sugar environment using qemu. I am trying to
 download the ext3 images from link*
 http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/*
 which is provided on http://wiki.laptop.org/go/Testing_ideas. But I can
 see that the link is no longer valid for downloading the ext3 images.

 It would be great if someone could provide the URL from where I can
 download ext3 OLPC images for qemu.

 Cheers!
 Kartik

 ___
 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] Hacking onto the appearing and hiding of OSK

2013-01-23 Thread Walter Bender
On Wed, Jan 23, 2013 at 1:20 AM, Ajay Garg a...@activitycentral.com wrote:
 Hi all.

 I wish to fix the bug, where some activities (Chat, Terminal, Speak for
 instance) are rendered unusable in the ebook-mode, due to the OSK covering
 the area of text-input.
 I have figured out a generic working solution for this - the idea is to
 minimize the activity windows when the OSK appears, and move back to the
 normal size when the OSK disappears.

I thought we had a different approach under development: to scroll the
window up in the case of the text view being occluded by the OSK? This
should be doable for activities that have scrolling windows, such as
terminal and chat. Speak, which doesn't scroll could be refactored to
put the textview on the top instead of the bottom of the screen. (I
suspect that whatever solution we have will involve some intervention
in some activities.)


 I have tested the re-sizing the windows; however, to make the fix  work
 everywhere, I was thinking of the following algorithm ::

What does resizing the window do? What other activities have you tested it on?


 a)
 Just before/after the OSK appears, make the current window smaller.

 b)
 Just after/before the OSK disappears, revert the current  window to its
 original size (if not already).


 This requires a way to know when and how the appeareance/disappearance of
 the OSK is triggered.

 How can this be done? I am sure there must be some gobject-signal for this -
 I just can't seem to figure it  out by manually browsing the code, since I
 don't personally  have a  XO4-Touch with me :-(



 Regards,

 Ajay Garg
 Dextrose Developer
 Activity Central: http://activitycentral.com
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


regards.

-walter
--
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] Hacking onto the appearing and hiding of OSK

2013-01-23 Thread Gary Martin
On 23 Jan 2013, at 15:29, Walter Bender walter.ben...@gmail.com wrote:

 On Wed, Jan 23, 2013 at 1:20 AM, Ajay Garg a...@activitycentral.com wrote:
 Hi all.
 
 I wish to fix the bug, where some activities (Chat, Terminal, Speak for
 instance) are rendered unusable in the ebook-mode, due to the OSK covering
 the area of text-input.
 I have figured out a generic working solution for this - the idea is to
 minimize the activity windows when the OSK appears, and move back to the
 normal size when the OSK disappears.
 
 I thought we had a different approach under development: to scroll the
 window up in the case of the text view being occluded by the OSK?

Yes, there are patches in GTK3 and Sugar for this, though with some issues 
still needing worked through. One activity that we managed to push hard to get 
polished was Write, it needed to be a special case as it doesn't use normal gtk 
widgets. My (rough) understanding of the implementation is that GTK first looks 
for a scrolled view and tries to scroll it so that the cursor/focus rect is 
kept in view [1], if no scrolled view is found it scrolls the canvas [2].

[1] the Write behaviour here is not ideal as the abiword widget implementation 
for the text area didn't allow for extra padding at the bottom of the view, so 
the text being edited is hard up next to the OSK rather than with some extra 
space so the text selection handles stay visible.

[2] I think there were patches in GTK3 Sugar so that the activity canvas area 
was automatically placed in a scroll view, so the toolbars are guaranteed to 
stay in view, but not sure if this landed. 

 This
 should be doable for activities that have scrolling windows, such as
 terminal and chat. Speak, which doesn't scroll could be refactored to
 put the textview on the top instead of the bottom of the screen. (I
 suspect that whatever solution we have will involve some intervention
 in some activities.)

Yes some intervention in activities will still be needed, and the first thing 
to do if you want any of this auto scrolling support is make sure your activity 
is ported to GTK3! ;) FOr activities like Speak I'd posted mockup images to a 
previous mail list thread showing how moving the text input area to the top of 
the UI would work well (the eyes will just peek over the top of the keyboard 
and the OSK can be hidden when the text is submitted for speaking).

 
 I have tested the re-sizing the windows; however, to make the fix  work
 everywhere, I was thinking of the following algorithm ::
 
 What does resizing the window do? What other activities have you tested it on?

Some activities will become quite unusable if auto shrunk, scrolling I think is 
better, we're lucky if the original developer planned for landscape and 
portrait aspect ratios...

Regards,
--Gary

 
 
 a)
 Just before/after the OSK appears, make the current window smaller.
 
 b)
 Just after/before the OSK disappears, revert the current  window to its
 original size (if not already).
 
 
 This requires a way to know when and how the appeareance/disappearance of
 the OSK is triggered.
 
 How can this be done? I am sure there must be some gobject-signal for this -
 I just can't seem to figure it  out by manually browsing the code, since I
 don't personally  have a  XO4-Touch with me :-(
 
 
 
 Regards,
 
 Ajay Garg
 Dextrose Developer
 Activity Central: http://activitycentral.com
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 regards.
 
 -walter
 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
 ___
 Devel mailing list
 de...@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

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


[Sugar-devel] webgl in Browse

2013-01-23 Thread Walter Bender
Has anyone tried to get webgl working on the webkit version of Browse?

regards.

-walter
-- 
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] webgl in Browse

2013-01-23 Thread Peter Robinson
On Wed, Jan 23, 2013 at 11:24 AM, Walter Bender walter.ben...@gmail.com wrote:
 Has anyone tried to get webgl working on the webkit version of Browse?

None that I'm aware of but it might be worth browsing the epiphany or
webkitgtk mailing lists. I think it might be OK with webkit2 which
should land in the gnome release.

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


Re: [Sugar-devel] webgl in Browse

2013-01-23 Thread Daniel Narvaez
I haven't tried but I think it might work on Fedora 18, it sounds like
it's enabled by default in webkit 1.10.

If someone has it installed, the easiest test would be to try it in
the epiphany browser. If it works it will hopefully work in Browse too
(or it should be easy to make it work anyway).

On 23 January 2013 17:24, Walter Bender walter.ben...@gmail.com wrote:
 Has anyone tried to get webgl working on the webkit version of Browse?

 regards.

 -walter
 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



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