Re: [Sugar-devel] Announcing OLPC OS 13.2.4 for XO-1

2015-05-12 Thread James Cameron
Created Sugar Labs ticket #4849.

-- 
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] Introduction to the list

2015-05-12 Thread Michaël Ohayon
It seems that the docker service is not running.

Does systemctl start docker gave you an error ?
 Le 12 mai 2015 02:55, Gonzalo Odiard godi...@sugarlabs.org a écrit :

 I have installed docker-io

 As root:
 # dnf install -y docker-io
 # systemctl start docker.service
 # systemctl enable docker.service

 Then, with my user I cloned the repo:
 git clone https://github.com/mikklfr/docker-sugar.git
 cd docker-sugar/
 sh run.sh

 FATA[] Post http:///var/run/docker.sock/v1.18/containers/create: dial
 unix /var/run/docker.sock: no such file or directory. Are you trying to
 connect to a TLS-enabled daemon without TLS?

 Any idea?

 Gonzalo

 On Mon, May 11, 2015 at 6:54 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Yes, I'll add an option to enable using just a folder, it will be better
 that way.

 I'm running this under ArchLinux.

 The docker-io is the correct package, the another one is something not
 related at all. It's a dock applet systray program : https://fedorahosted
 .org/fpc/ticket/341
 Many distros are getting into this naming problem.

 So, you should remove docker and get docker-io.
 I think that the docker service will start automatically.

 This docker recipe should work across distributions as I didn't used
 specific items.

 I forgot to tell it but docker will only run on amd64 machines.

 The first time you'll run the script, docker will fetch the sugar image
 I've built. It's around 500mb, the source code used is in the Dockerfile
 located inside the github repo.
 It will be cached and the next launches will be almost instant.

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-11 23:44 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:
 
  Maybe point to  directory where you have installed your activities?
  Or take it from a env variable.
 
  A few questions:
  What is your testing environment?
  I am looking at how to install docker in Fedora, and have different
 instructions
  depending on the version https://fedoraproject.org/wiki/Docker
  I am using F21, should I remove docker and install docker-io?
 
  What about other distributions? The docker recipe works across distros
  or we need a different recipe for everyone?
 
  Gonzalo
 
  Gonzalo
 
  On Mon, May 11, 2015 at 6:35 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:
 
  Hi !
 
  I've updated the script.
  You can now start a sugar environment and provide activities folders !
 
  https://github.com/mikklfr/docker-sugar
 
  I've got two activities folders which I want to test : 2048.activity
 and Valorar.activity.
 
  I can run sugar and provide those activities by running the script
 like this :
 
  $sh run.sh 2048.activity Valorar.activity
 
  Sugar shows up and activities are available in the list.
 
  You can edit the scripts from the host, they are synced with the
 docker container.
 
  Maybe you have some specific topics I could look into to get something
 useful for your needs ?
 
  --
  Michaël Ohayon
  Manager de l'Innovation Cloud et Mobilité
  Epitech Innovation Hub
 
  2015-05-11 18:26 GMT+02:00 Michaël Ohayon mohayo...@gmail.com:
 
  Hi,
 
  I've just setup something to run sugar with docker.
 
  It will work on GNU/Linux only with X11 and pulseaudio.
 
  I've published it on the docker registry and github.
 
  - https://github.com/mikklfr/docker-sugar
  - The docker image is mikkl/sugar
 
  It's kind of a poc for now.
  I'll setup a script to test an activity asap.
 
  If you want to test it :
 
  - Download and start docker service
  - Run the .sh script : https://github.com/mikklfr
 /docker-sugar/blob/master/run.sh
 
  I'll give updates :)
 
 
  --
  Michaël Ohayon
  Manager de l'Innovation Cloud et Mobilité
  Epitech Innovation Hub
 
  2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:
 
  Nice.
  And you have a docker recipe to create a sugar development
 environment?
  Can be used in any operating system?
  I am asking because we are thinking in how make easier develop in
 different os,
  and also how distribute Sugar to users in other platforms.
 
  Gonzalo
 
  On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:
 
  Thanks,
 
  Docker is a great tool for booting up a container using LXC, you
 can refer to it as a very light vm focused on a specific task.
  You can script in minutes a way to boot a program by targetting a
 specific OS from any GNU/Linux
 
  For instance here is a Dockerfile to
  - bootup an archlinux container
  - upgrading packages
  - copy a nginx conf file
  - clone sugarizer repository
  - expose nginx to port 80 on the host
 
  [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
  FROM base/archlinux:latest
 
  RUN yes | pacman -Syy
  RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git
 
  COPY nginx.conf /etc/nginx/nginx.conf
 
  RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
  RUN cd /opt/sugarizer/server; npm install
  RUN mkdir /opt/sugarizer/db
 
  EXPOSE 80
 
  CMD 

[Sugar-devel] Palette Animations

2015-05-12 Thread Sam P.
Hi All,

(I'm not sure if we have a design mailing list, so I will just email
sugar-devel!)

I was looking at the sugar demo video on the website [1], and I noticed 1
thing in particular.  The palette animations were super awesome in that
video.

So after doing some fixing on the animation code, the goal of trying to get
those smooth animations started to consume my entire life.  I have been
able to create an early prototype [2] and have made a screen recording if
you want [3].  It will definitely not land for this cycle :)

But I was thinking, maybe we should have a design discussion about this
feature?  I don't know if any discussion happened before, but maybe some
did because it in the official video.

Do you think this is something to peruse?

Thanks,
Sam

[1] http://sugarlabs.org/assets/sugar_demo.ogg
[2]
https://github.com/sugarlabs/sugar-toolkit-gtk3/compare/sugarlabs:master...samdroid-apps:palette-animations?expand=1
[3] https://vid.me/RKmL
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Palette Animations

2015-05-12 Thread James Cameron
G'day Sam,

I'm fine with that as long as the animations can be configured off for
old hardware.

I think the official video was artistic work, not an implementation.

-- 
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] [ASLO] Release Clock-17

2015-05-12 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4191

Sugar Platform:
0.98 - 0.104

Download Now:
http://activities.sugarlabs.org/downloads/file/29101/clock-17.xo

Release notes:
Make the text to speech compatible with F18, using tts in the sugar toolkit.
Need Sugar 0.104


Sugar Labs Activities
http://activities.sugarlabs.org

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


Re: [Sugar-devel] [ASLO] Release Clock-17

2015-05-12 Thread James Cameron
On Tue, May 12, 2015 at 12:00:42PM -0400, Sugar Labs Activities wrote:
 Activity Homepage:
 http://activities.sugarlabs.org/addon/4191
 
 Sugar Platform:
 0.98 - 0.104

As it needs 0.104, can you please change it in ASLO?

 Download Now:
 http://activities.sugarlabs.org/downloads/file/29101/clock-17.xo

Applied using Software Update.

Sometimes speaks.

When it doesn't speak, it reports in log:

(sugar-activity:965): GStreamer-CRITICAL **: gst_memory_new_wrapped: assertion 
`offset + size = maxsize' failed

(sugar-activity:965): GStreamer-CRITICAL **: gst_buffer_insert_memory: 
assertion `mem != NULL' failed

Sometimes stops activity, and reports in log:

Terminated by signal 11, pid 877 data (None, open file 'fdopen', mode 'w' at 
0xa2c3de0, '1bb8235db05c7a9492d53840cbe64cf87c343a51')

Always reports in log:

/home/olpc/Activities/Clock.activity/clock.py:495: Warning: value 170 of type 
`gint' is invalid or out of range for property `rate' of type `gint'
  pipe = Gst.parse_launch(pipeline)

Always takes an additional second to speak.

-- 
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] [ASLO] Release Clock-17

2015-05-12 Thread Gonzalo Odiard
I think I found the problem.
Could you confirm replacing the attached file in the activity dir?
Thanks!

Gonzalo

On Tue, May 12, 2015 at 5:39 PM, James Cameron qu...@laptop.org wrote:

 On Tue, May 12, 2015 at 12:00:42PM -0400, Sugar Labs Activities wrote:
  Activity Homepage:
  http://activities.sugarlabs.org/addon/4191
 
  Sugar Platform:
  0.98 - 0.104

 As it needs 0.104, can you please change it in ASLO?

  Download Now:
  http://activities.sugarlabs.org/downloads/file/29101/clock-17.xo

 Applied using Software Update.

 Sometimes speaks.

 When it doesn't speak, it reports in log:

 (sugar-activity:965): GStreamer-CRITICAL **: gst_memory_new_wrapped:
 assertion `offset + size = maxsize' failed

 (sugar-activity:965): GStreamer-CRITICAL **: gst_buffer_insert_memory:
 assertion `mem != NULL' failed

 Sometimes stops activity, and reports in log:

 Terminated by signal 11, pid 877 data (None, open file 'fdopen', mode
 'w' at 0xa2c3de0, '1bb8235db05c7a9492d53840cbe64cf87c343a51')

 Always reports in log:

 /home/olpc/Activities/Clock.activity/clock.py:495: Warning: value 170 of
 type `gint' is invalid or out of range for property `rate' of type `gint'
   pipe = Gst.parse_launch(pipeline)

 Always takes an additional second to speak.

 --
 James Cameron
 http://quozl.linux.org.au/




-- 
Gonzalo Odiard

SugarLabs - Software for children learning
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Code released in the Public Domain. You can do whatever you want
# with this package.  Though I'm learning Python, I've tried to use
# the best practices in XO development.  Look at NOTES file to see how
# to adapt this program.  Originally written by Pierre Métras
# pie...@alterna.tv for the OLPC XO laptop.


Learning time.
==
The XO is missing a simple clock for kids to learn how to
read time, but more importantly to know what time is is. When you
don't own a clock, the XO can be used to display the time to
arrive in time at school...
A clock can also be used to learn how to count and read numbers.

Display and behavior can be changed with the buttons in the toolbar:
- A simple clock with hours figures to learn to tell the time.
- A nice clock face, without hours numbers.
- A digital clock with a time scale.
Also, the clock can print the current time in full letters. Or speak
it aloud.

To help learning the time, all the clocks displays use a consistent
color code:
- Hours blue: #005FE4
- Minutes   green: #00B20D
- Seconds   red: #E6000A
- Days  dark red: #B20008
- Monthspurple: #5E008C
- Years brown: #9A5200


An analog clock is also very helpfull to determine where the North is when you
don't have a compass!
Check http://www.wikihow.com/Find-True-North-Without-a-Compass
And knowing where the True North is, you can build a Sun Clock!

Author: Pierre Metras pie...@alterna.tv
Based on work from Davyd Madeley, Lawrence Oluyede l.oluy...@gmail.com
SVG background adapted from Open ClipArt:
http://openclipart.org/people/rihard/rihard_Clock_Calendar_2.svg

More about clocks and time in the World
---
- Clock face: http://en.wikipedia.org/wiki/Clock_face
- 12 hours clock: http://en.wikipedia.org/wiki/12-hour_clock
- 24 hours clock: http://en.wikipedia.org/wiki/24-hour_clock
- Thai 6 hours clock: http://en.wikipedia.org/wiki/Thai_six-hour_clock

- Time and date in the World:
  http://en.wikipedia.org/wiki/Date_and_time_notation_by_country



# We initialize threading in GObject. As we will detach another thread
# to translate the time to text, this other thread will eventually
# update the display with idle_add() calls, because it is not running
# in the main event thread. But idle_add() puts a callback in the
# message queue with the lowest priority. When the nice clock is
# displayed, it can spend a few seconds (20 to 30 is common) before
# the GTK loop will process this low priority message. When we enable
# the threads, the processing is almost instantaneous.

from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import Rsvg
from gi.repository import Pango
from gi.repository import GObject
from gi.repository import PangoCairo

import logging
import os
import re
import math
import cairo
from datetime import datetime

from gettext import gettext as _

from sugar3.graphics import style
from sugar3.activity import activity
from sugar3.activity.widgets import StopButton
from sugar3.graphics.toolbarbox import ToolbarBox
from sugar3.activity.widgets import ActivityToolbarButton
from sugar3.graphics.radiotoolbutton import RadioToolButton
from sugar3.graphics.toggletoolbutton import ToggleToolButton

from speaker import Speaker
from timewriter import TimeWriter

import dbus

# The display modes of the clock
_MODE_SIMPLE_CLOCK = 0
_MODE_NICE_CLOCK = 1
_MODE_DIGITAL_CLOCK = 2

# directory exists if powerd is running.  create a file here,
# named after our pid, to inhibit suspend.
POWERD_INHIBIT_DIR = 

Re: [Sugar-devel] Introduction to the list

2015-05-12 Thread Michaël Ohayon
Yes, docker should work now :)

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-12 13:37 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:



 On Tue, May 12, 2015 at 3:33 AM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 It seems that the docker service is not running.

 Does systemctl start docker gave you an error ?


 No.

 Searching in Google I found this:

 https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=1214104

 Then I tried:

 sudo sh run.sh

 and is downloading.

 Is the right solution?

 Gonzalo


___
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.

2015-05-12 Thread Sam P.
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 gus.dua...@gmail.com 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.

2015-05-12 Thread Gonzalo Odiard
Then, you should backport the implementation.

Gonzalo

On Tue, May 12, 2015 at 9:39 AM, Gustavo Duarte gus.dua...@gmail.com
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. sam.parkins...@gmail.com 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 gus.dua...@gmail.com
 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] Palette Animations

2015-05-12 Thread Gonzalo Odiard
I would not invest work in improving the palette animations for the
following reasons:

* Right now, we have two different palettes implementations. The old, based
in Gtk.Menu,
used only when we need submenus (Journal, Clipboard) and the new.
Was proposed remove the old implementation [1]
* The palette code is a nightmare, and now Gtk have the popovers,
that provide a similar functionality [2]
* There are a lot of bugs related to palettes [3]
* Popovers will implement animations [4]
* We can remove a lot of code. Remove code is better than write code :)

If I had free cpu cycles, I would invest in research if is possible theme
Gtk popovers to look as our palettes, and if there are any limitation
than could be a blocker.

Gonzalo

[1] http://bugs.sugarlabs.org/ticket/4768
[2] https://developer.gnome.org/gtk3/stable/GtkPopover.html
[3]
http://bugs.sugarlabs.org/query?status=acceptedstatus=assignedstatus=newstatus=reopeneddescription=~palettecol=idcol=summarycol=statuscol=typecol=prioritycol=milestonecol=componentorder=priority
[4]
https://plus.google.com/+WorldofGnomeOrg/posts/Tf3xBLZi13E?pid=6118354207602136850oid=112026213399155142823

On Tue, May 12, 2015 at 5:23 AM, James Cameron qu...@laptop.org wrote:

 G'day Sam,

 I'm fine with that as long as the animations can be configured off for
 old hardware.

 I think the official video was artistic work, not an implementation.

 --
 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] Palette Animations

2015-05-12 Thread Walter Bender
I had forgotten about those... they are pretty cool.

-walter

On Tue, May 12, 2015 at 4:06 AM, Sam P. sam.parkins...@gmail.com wrote:

 Hi All,

 (I'm not sure if we have a design mailing list, so I will just email
 sugar-devel!)

 I was looking at the sugar demo video on the website [1], and I noticed 1
 thing in particular.  The palette animations were super awesome in that
 video.

 So after doing some fixing on the animation code, the goal of trying to
 get those smooth animations started to consume my entire life.  I have been
 able to create an early prototype [2] and have made a screen recording if
 you want [3].  It will definitely not land for this cycle :)

 But I was thinking, maybe we should have a design discussion about this
 feature?  I don't know if any discussion happened before, but maybe some
 did because it in the official video.

 Do you think this is something to peruse?

 Thanks,
 Sam

 [1] http://sugarlabs.org/assets/sugar_demo.ogg
 [2]
 https://github.com/sugarlabs/sugar-toolkit-gtk3/compare/sugarlabs:master...samdroid-apps:palette-animations?expand=1
 [3] https://vid.me/RKmL

 ___
 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.

2015-05-12 Thread Gustavo Duarte
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. sam.parkins...@gmail.com 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 gus.dua...@gmail.com 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] Introduction to the list

2015-05-12 Thread Gonzalo Odiard
Nice. Is working now.

This is very interesting. Started ok, and show a nice group of activities

A few comments/questions:

* Every time starts fresh (ask age/gender and select a color). There are
any way to
preserve a state?

* Docker is using the packages installed in Fedora, right? What Fedora
version?
I am trying to understand if we should use this as a distribution option,
as a testing option or if we can use it to develop/test.

* Where is all the stuff downloaded?

* Sugar crashed when I went to My Settings - My computer
(probably was trying to access some devices to get information about the
hardware)

Gonzalo

On Tue, May 12, 2015 at 8:41 AM, Michaël Ohayon mohayo...@gmail.com wrote:

 Yes, docker should work now :)

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-12 13:37 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:



 On Tue, May 12, 2015 at 3:33 AM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 It seems that the docker service is not running.

 Does systemctl start docker gave you an error ?


 No.

 Searching in Google I found this:

 https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=1214104

 Then I tried:

 sudo sh run.sh

 and is downloading.

 Is the right solution?

 Gonzalo





-- 
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] Palette Animations

2015-05-12 Thread Sebastian Silva
Nice!

Sugar needs eyecandy for sure!
This makes me happy.

+1 about making it optional



 On Tue, May 12, 2015 at 4:06 AM, Sam P. sam.parkins...@gmail.com
 mailto:sam.parkins...@gmail.com wrote:

 Hi All,

 (I'm not sure if we have a design mailing list, so I will just
 email sugar-devel!)

 I was looking at the sugar demo video on the website [1], and I
 noticed 1 thing in particular.  The palette animations were super
 awesome in that video.

 So after doing some fixing on the animation code, the goal of
 trying to get those smooth animations started to consume my entire
 life.  I have been able to create an early prototype [2] and have
 made a screen recording if you want [3].  It will definitely not
 land for this cycle :)

 But I was thinking, maybe we should have a design discussion about
 this feature?  I don't know if any discussion happened before, but
 maybe some did because it in the official video.

 Do you think this is something to peruse?

 Thanks,
 Sam

 [1] http://sugarlabs.org/assets/sugar_demo.ogg
 [2]
 
 https://github.com/sugarlabs/sugar-toolkit-gtk3/compare/sugarlabs:master...samdroid-apps:palette-animations?expand=1
 [3] https://vid.me/RKmL

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 mailto: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

-- 
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] Introduction to the list

2015-05-12 Thread Michaël Ohayon
Great !

- I'll look onto preserving the state for the next versions

- Docker can run any docker container based on any linux.
Your os got his own docker version but you can run everything.
My Dockerfile specifies that the container should use fedora. So the guest
OS is fedora even if I use ArchLinux, Fedora or any other distro as host.

It's a great tool for develop/test. As you can see they are some
limitations for the distribution and some specific testing, like for the
hardware part but it's kinda stable.

The docker images are stored inside /usr/share/docker I think, don't delete
them manually or you'll get into troubles.

*How to remove things :*

Image : base Image of a system (like Fedora)
Container : running instance of an image

You can list images using : docker images -a
You can list containers using : docker ps -a
You can remove all containers using : docker rm `docker ps -aq`
You can remove all images using : docker rmi `docker images -aq`

You must kill and remove containers before images, so *to remove everything*
:
docker kill `docker ps -q`
docker rm `docker ps -aq`
docker rmi `docker images -aq`

The quote ` and not ' or  is important.

I'll setup a wiki page to keep this available !

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-12 14:18 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice. Is working now.

 This is very interesting. Started ok, and show a nice group of activities

 A few comments/questions:

 * Every time starts fresh (ask age/gender and select a color). There are
 any way to
 preserve a state?

 * Docker is using the packages installed in Fedora, right? What Fedora
 version?
 I am trying to understand if we should use this as a distribution option,
 as a testing option or if we can use it to develop/test.

 * Where is all the stuff downloaded?

 * Sugar crashed when I went to My Settings - My computer
 (probably was trying to access some devices to get information about the
 hardware)

 Gonzalo

 On Tue, May 12, 2015 at 8:41 AM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Yes, docker should work now :)

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-12 13:37 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:



 On Tue, May 12, 2015 at 3:33 AM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 It seems that the docker service is not running.

 Does systemctl start docker gave you an error ?


 No.

 Searching in Google I found this:

 https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=1214104

 Then I tried:

 sudo sh run.sh

 and is downloading.

 Is the right solution?

 Gonzalo





 --
 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] Introduction to the list

2015-05-12 Thread Gonzalo Odiard


 I'll setup a wiki page to keep this available !


Thanks, good idea.

Gonzalo
___
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.

2015-05-12 Thread Gustavo Duarte
You are right !

On Tue, May 12, 2015 at 9:48 AM, Gonzalo Odiard godi...@sugarlabs.org wrote:
 Then, you should backport the implementation.

 Gonzalo

 On Tue, May 12, 2015 at 9:39 AM, Gustavo Duarte gus.dua...@gmail.com
 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. sam.parkins...@gmail.com 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 gus.dua...@gmail.com
  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