Re: [Sugar-devel] Usage of sugar-build

2013-07-29 Thread Daniel Narvaez
On 25 July 2013 17:15, James Simmons nices...@gmail.com wrote:

 I finally got sugar-build working on Fedora 19 last night.  I plan to
 update Make Your Own Sugar Activities! to discuss this.  Some stuff I
 plan to include:


Awesome!


 How to install gcc and python development, which are required for
 osbuild build to work.


In the chroot branch these requirements are gone. All that should be
required is python, tar and xz.


 Running multiple copies of sugar-build as different users to test
 collaboration with just one PC.


I suppose that's why you are playing with the profile pref. I tested it now
and it seems broken, will fix.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Usage of sugar-build

2013-07-29 Thread Daniel Narvaez
On 29 July 2013 11:48, Daniel Narvaez dwnarv...@gmail.com wrote:


 Running multiple copies of sugar-build as different users to test
 collaboration with just one PC.


 I suppose that's why you are playing with the profile pref. I tested it
 now and it seems broken, will fix.



I figured out that pref could be just dropped... Now the way to test with
multiple sugar instances is

./osbuild shell

SUGAR_PROFILE=test1 run 
SUGAR_PROFILE=test2 run 

If you want different nick names I think currently you need to set the
/desktop/sugar/user/default_nick gconf pref to disabled using gconftool-2
(needs to be done inside the osbuild shell).

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


Re: [Sugar-devel] Usage of sugar-build

2013-07-28 Thread Daniel Narvaez
On 26 July 2013 23:00, James Simmons nices...@gmail.com wrote:

 I probably will not do much updating to MYOSA on sugar-build until the
 chroot branch has been merged, then.  As long as Xephyr is still in there
 the instructions I have should be tolerable.  I might put in something
 about the need to update the sudoers table with visudo and give an
 example, as that could be a stumbling block for some.


Removing Xephyr usage was discussed but at the moment I have no solid plans
for it. Certainly it's not removed in the chroot branch.


 I am a bit puzzled about profile not working.  I *think* I'm doing it
 right.



You might have misunderstood what the pref does. It's supposed to put sugar
data in ~/.sugar/$profile, it doesn't affect user name as you seem to
expect.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Usage of sugar-build

2013-07-26 Thread Manuel Quiñones
2013/7/25 James Simmons nices...@gmail.com:
 I tried out Alt-Tab switching and it works fine.  I also tried prefs.json,
 with mixed results.  This is the contents of the file:

 {
 resolution: 1024x768,
 profile: Willy Wonka
 }

 Resolution worked just fine, and Sugar showed up in a window just like the
 old days.  Instead of saying Sugar in a Window it says Sugar Runner.  I
 can't tell if it still uses Xephyr or not.

If you are running sugar-build master, then yes, it uses Xephyr.  You
can tell by looking at the running processes, for example with: ps -e
--forest

The chroot branch has not been merged yet.

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


Re: [Sugar-devel] Usage of sugar-build

2013-07-26 Thread James Simmons
I probably will not do much updating to MYOSA on sugar-build until the
chroot branch has been merged, then.  As long as Xephyr is still in there
the instructions I have should be tolerable.  I might put in something
about the need to update the sudoers table with visudo and give an
example, as that could be a stumbling block for some.

I am a bit puzzled about profile not working.  I *think* I'm doing it
right.

James Simmons



On Fri, Jul 26, 2013 at 5:55 AM, Manuel Quiñones ma...@laptop.org wrote:

 2013/7/25 James Simmons nices...@gmail.com:
  I tried out Alt-Tab switching and it works fine.  I also tried
 prefs.json,
  with mixed results.  This is the contents of the file:
 
  {
  resolution: 1024x768,
  profile: Willy Wonka
  }
 
  Resolution worked just fine, and Sugar showed up in a window just like
 the
  old days.  Instead of saying Sugar in a Window it says Sugar Runner.
  I
  can't tell if it still uses Xephyr or not.

 If you are running sugar-build master, then yes, it uses Xephyr.  You
 can tell by looking at the running processes, for example with: ps -e
 --forest

 The chroot branch has not been merged yet.

 --
 .. manuq ..

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


Re: [Sugar-devel] Usage of sugar-build

2013-07-25 Thread Manuel Quiñones
2013/7/25 James Simmons nices...@gmail.com:
 I finally got sugar-build working on Fedora 19 last night.  I plan to update
 Make Your Own Sugar Activities! to discuss this.

Excellent James!

 How to use Ctrl-Alt-F2 to open a virtual terminal, which you will use to
 run ./osbuild run.  Using Ctrl-Alt-Fkey to go from the Sugar environment
 to your Python development environment.

Is this really needed? ./osbuild run can be done from inside the
GNOME session.

 Anything else anyone can think of?

Start promoting the development of web activities?

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


Re: [Sugar-devel] Usage of sugar-build

2013-07-25 Thread James Simmons
Manuel,

I am aware that ./osbuild run can be done from within a GNOME session.  I
did it that way the first time I ran it.  What I need to provide to my
readers is a way they can easily move from a development environment to a
Sugar environment and back again.  Running Sugar in a window made that
easy.  Generally when I debug a Sugar Activity I just quit and relaunch the
Activity to test it.  Relaunching Sugar is not necessary.  The business
with launching it from a virtual terminal makes that possible, and also
makes it possible to run multiple copies of Sugar under different IDs so
you can test collaboration.  In the absence of any instructions I assumed
that this is what I was meant to do.  If there is an easier way to bounce
between Sugar and GNOME without restarting Sugar each time I'd love to hear
about it.

As for web activities, we do have a guest chapter from Lionel on the
subject.  I agree the book needs more but I get the impression that we're
still working out the details on this.  I am somewhat comfortable with
HTML, JS, CSS, embedded fonts, and the like but I may not be the best
person to write these chapters, at least until things stabilize a bit.

James Simmons


On Thu, Jul 25, 2013 at 10:38 AM, Manuel Quiñones ma...@laptop.org wrote:

 2013/7/25 James Simmons nices...@gmail.com:
  I finally got sugar-build working on Fedora 19 last night.  I plan to
 update
  Make Your Own Sugar Activities! to discuss this.

 Excellent James!

  How to use Ctrl-Alt-F2 to open a virtual terminal, which you will use
 to
  run ./osbuild run.  Using Ctrl-Alt-Fkey to go from the Sugar
 environment
  to your Python development environment.

 Is this really needed? ./osbuild run can be done from inside the
 GNOME session.

  Anything else anyone can think of?

 Start promoting the development of web activities?

 .. manuq ..

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


Re: [Sugar-devel] Usage of sugar-build

2013-07-25 Thread Walter Bender
On Thu, Jul 25, 2013 at 12:10 PM, James Simmons nices...@gmail.com wrote:
 Manuel,

 I am aware that ./osbuild run can be done from within a GNOME session.  I
 did it that way the first time I ran it.  What I need to provide to my
 readers is a way they can easily move from a development environment to a
 Sugar environment and back again.  Running Sugar in a window made that easy.
 Generally when I debug a Sugar Activity I just quit and relaunch the
 Activity to test it.  Relaunching Sugar is not necessary.  The business with
 launching it from a virtual terminal makes that possible, and also makes it
 possible to run multiple copies of Sugar under different IDs so you can test
 collaboration.  In the absence of any instructions I assumed that this is
 what I was meant to do.  If there is an easier way to bounce between Sugar
 and GNOME without restarting Sugar each time I'd love to hear about it.

When you run Sugar using ./osbuild run, even though Sugar is running
full screen, it is running in a window in GNOME, so you can switch to
other windows within the GNOME session, and, for example, edit
activities.


 As for web activities, we do have a guest chapter from Lionel on the
 subject.  I agree the book needs more but I get the impression that we're
 still working out the details on this.  I am somewhat comfortable with HTML,
 JS, CSS, embedded fonts, and the like but I may not be the best person to
 write these chapters, at least until things stabilize a bit.

 James Simmons


 On Thu, Jul 25, 2013 at 10:38 AM, Manuel Quiñones ma...@laptop.org wrote:

 2013/7/25 James Simmons nices...@gmail.com:
  I finally got sugar-build working on Fedora 19 last night.  I plan to
  update
  Make Your Own Sugar Activities! to discuss this.

 Excellent James!

  How to use Ctrl-Alt-F2 to open a virtual terminal, which you will use
  to
  run ./osbuild run.  Using Ctrl-Alt-Fkey to go from the Sugar
  environment
  to your Python development environment.

 Is this really needed? ./osbuild run can be done from inside the
 GNOME session.

  Anything else anyone can think of?

 Start promoting the development of web activities?

 .. manuq ..



 ___
 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] Usage of sugar-build

2013-07-25 Thread James Simmons
I noticed that the sugar-build script installs the framebuffer version of
X11 so I assumed it was meant to start from a virtual terminal.  That does
work.

If it is running in a GNOME window but full screen how do you go about
switching to another window?  Would Alt-Tab do it?  I remember that we
wanted to get rid of Xephyr, and I've experienced problems with Sugar in
Xephyr myself so I can see why, but I'm still kind of puzzled by this and I
think MYOSA readers would be too.

James Simmons



On Thu, Jul 25, 2013 at 11:19 AM, Walter Bender walter.ben...@gmail.comwrote:

 On Thu, Jul 25, 2013 at 12:10 PM, James Simmons nices...@gmail.com
 wrote:
  Manuel,
 
  I am aware that ./osbuild run can be done from within a GNOME session.  I
  did it that way the first time I ran it.  What I need to provide to my
  readers is a way they can easily move from a development environment to a
  Sugar environment and back again.  Running Sugar in a window made that
 easy.
  Generally when I debug a Sugar Activity I just quit and relaunch the
  Activity to test it.  Relaunching Sugar is not necessary.  The business
 with
  launching it from a virtual terminal makes that possible, and also makes
 it
  possible to run multiple copies of Sugar under different IDs so you can
 test
  collaboration.  In the absence of any instructions I assumed that this is
  what I was meant to do.  If there is an easier way to bounce between
 Sugar
  and GNOME without restarting Sugar each time I'd love to hear about it.

 When you run Sugar using ./osbuild run, even though Sugar is running
 full screen, it is running in a window in GNOME, so you can switch to
 other windows within the GNOME session, and, for example, edit
 activities.

 
  As for web activities, we do have a guest chapter from Lionel on the
  subject.  I agree the book needs more but I get the impression that we're
  still working out the details on this.  I am somewhat comfortable with
 HTML,
  JS, CSS, embedded fonts, and the like but I may not be the best person to
  write these chapters, at least until things stabilize a bit.
 
  James Simmons
 
 
  On Thu, Jul 25, 2013 at 10:38 AM, Manuel Quiñones ma...@laptop.org
 wrote:
 
  2013/7/25 James Simmons nices...@gmail.com:
   I finally got sugar-build working on Fedora 19 last night.  I plan to
   update
   Make Your Own Sugar Activities! to discuss this.
 
  Excellent James!
 
   How to use Ctrl-Alt-F2 to open a virtual terminal, which you will
 use
   to
   run ./osbuild run.  Using Ctrl-Alt-Fkey to go from the Sugar
   environment
   to your Python development environment.
 
  Is this really needed? ./osbuild run can be done from inside the
  GNOME session.
 
   Anything else anyone can think of?
 
  Start promoting the development of web activities?
 
  .. manuq ..
 
 
 
  ___
  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] Usage of sugar-build

2013-07-25 Thread mokurai
Alt-tab to go between Sugar and other programs is very clumsy at first,
but works. When I do this from a full-screen Sugar session I don't get the
usual view of icons of other applications to choose from, but once I have
Sugar and the program I want to alternate with set up for toggling
between, it is quite easy.

On Thu, July 25, 2013 12:10 pm, James Simmons wrote:
 Manuel,

 I am aware that ./osbuild run can be done from within a GNOME session.
I
 did it that way the first time I ran it.  What I need to provide to my
readers is a way they can easily move from a development environment to
a
 Sugar environment and back again.  Running Sugar in a window made that
easy.  Generally when I debug a Sugar Activity I just quit and relaunch
the
 Activity to test it.  Relaunching Sugar is not necessary.  The business
with launching it from a virtual terminal makes that possible, and also
makes it possible to run multiple copies of Sugar under different IDs so
you can test collaboration.  In the absence of any instructions I
assumed
 that this is what I was meant to do.  If there is an easier way to
bounce
 between Sugar and GNOME without restarting Sugar each time I'd love to hear
 about it.

 As for web activities, we do have a guest chapter from Lionel on the
subject.  I agree the book needs more but I get the impression that
we're
 still working out the details on this.  I am somewhat comfortable with
HTML, JS, CSS, embedded fonts, and the like but I may not be the best
person to write these chapters, at least until things stabilize a bit.

 James Simmons


 On Thu, Jul 25, 2013 at 10:38 AM, Manuel Quiñones ma...@laptop.org wrote:

 2013/7/25 James Simmons nices...@gmail.com:
  I finally got sugar-build working on Fedora 19 last night.  I plan to
 update
  Make Your Own Sugar Activities! to discuss this.
 Excellent James!
  How to use Ctrl-Alt-F2 to open a virtual terminal, which you will
 use
 to
  run ./osbuild run.  Using Ctrl-Alt-Fkey to go from the Sugar
 environment
  to your Python development environment.
 Is this really needed? ./osbuild run can be done from inside the
GNOME session.
  Anything else anyone can think of?
 Start promoting the development of web activities?
 .. manuq ..
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
Edward Mokurai
(#40664;#38647;/#2344;#2367;#2358;#2348;#2381;#2342;#2327;#2352;#2381;#2332;/#1606;#1588;#1576;#1583;#1711;#1585;#1580;)
Cherlin
Silent Thunder is my name, and Children are my nation.
The Cosmos is my dwelling place, the Truth my destination.
http://wiki.sugarlabs.org/go/Replacing_Textbooks




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


Re: [Sugar-devel] Usage of sugar-build

2013-07-25 Thread James Simmons
I tried out Alt-Tab switching and it works fine.  I also tried prefs.json,
with mixed results.  This is the contents of the file:

{
resolution: 1024x768,
profile: Willy Wonka
}

Resolution worked just fine, and Sugar showed up in a window just like the
old days.  Instead of saying Sugar in a Window it says Sugar Runner.  I
can't tell if it still uses Xephyr or not.

On the other hand, profile got ignored.  In the F1 and F2 views of Sugar
I am identified as James Simmons from my login id, not Willy Wonka.

It seems to me that getting rid of Xephyr was supposed to be a big change
but I'm not seeing that.  If you specify a window size everything seems the
same as before.  You *can* run Sugar from a text mode virtual terminal,
which may or may not be new.

James Simmons



On Thu, Jul 25, 2013 at 8:01 PM, moku...@earthtreasury.org wrote:

 Alt-tab to go between Sugar and other programs is very clumsy at first,
 but works. When I do this from a full-screen Sugar session I don't get the
 usual view of icons of other applications to choose from, but once I have
 Sugar and the program I want to alternate with set up for toggling
 between, it is quite easy.

 On Thu, July 25, 2013 12:10 pm, James Simmons wrote:
  Manuel,
 
  I am aware that ./osbuild run can be done from within a GNOME session.
 I
  did it that way the first time I ran it.  What I need to provide to my
 readers is a way they can easily move from a development environment to
 a
  Sugar environment and back again.  Running Sugar in a window made that
 easy.  Generally when I debug a Sugar Activity I just quit and relaunch
 the
  Activity to test it.  Relaunching Sugar is not necessary.  The business
 with launching it from a virtual terminal makes that possible, and also
 makes it possible to run multiple copies of Sugar under different IDs so
 you can test collaboration.  In the absence of any instructions I
 assumed
  that this is what I was meant to do.  If there is an easier way to
 bounce
  between Sugar and GNOME without restarting Sugar each time I'd love to
 hear
  about it.
 
  As for web activities, we do have a guest chapter from Lionel on the
 subject.  I agree the book needs more but I get the impression that
 we're
  still working out the details on this.  I am somewhat comfortable with
 HTML, JS, CSS, embedded fonts, and the like but I may not be the best
 person to write these chapters, at least until things stabilize a bit.
 
  James Simmons
 
 
  On Thu, Jul 25, 2013 at 10:38 AM, Manuel Quiñones ma...@laptop.org
 wrote:
 
  2013/7/25 James Simmons nices...@gmail.com:
   I finally got sugar-build working on Fedora 19 last night.  I plan to
  update
   Make Your Own Sugar Activities! to discuss this.
  Excellent James!
   How to use Ctrl-Alt-F2 to open a virtual terminal, which you will
  use
  to
   run ./osbuild run.  Using Ctrl-Alt-Fkey to go from the Sugar
  environment
   to your Python development environment.
  Is this really needed? ./osbuild run can be done from inside the
 GNOME session.
   Anything else anyone can think of?
  Start promoting the development of web activities?
  .. manuq ..
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 


 --
 Edward Mokurai

 (#40664;#38647;/#2344;#2367;#2358;#2348;#2381;#2342;#2327;#2352;#2381;#2332;/#1606;#1588;#1576;#1583;#1711;#1585;#1580;)
 Cherlin
 Silent Thunder is my name, and Children are my nation.
 The Cosmos is my dwelling place, the Truth my destination.
 http://wiki.sugarlabs.org/go/Replacing_Textbooks





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