[Sugar-devel] [DESIGN] Display clock in frame

James Cameron quozl at laptop.org
Sun Apr 10 21:41:47 EDT 2016


Thanks for offering to work on these features.

They have been discussed and designed previously, please do some
research into previous discussions.  Search sugar-devel@ archives
carefully, and summarise what you find.

There are two features in the ticket;

1.  adjust clock,

2.  display clock.

--

For adjust clock, refer to my pull request (you have seen this
already) which uses NTP;
https://github.com/godiard/clock-activity/pull/2

Let's call this "adjust clock to network time".  This function may be
moved from the clock activity to the My Settings control panel in
Sugar.

Setting the clock manually could be offered if NTP fails.  Let's call
this "adjust clock manually".

At OLPC, my main concern with an "adjust clock manually" feature is
that it may stop laptop boot because of deployment security and date
limited lease signatures.  To control for this impact, I suggest;

1.  provide GSettings to disable "adjust clock manually" feature,
which will be used by olpc-os-builder,

Please make a feature page:
https://wiki.sugarlabs.org/go/Features

--

For displaying the clock, refer to previous discussions, for example;
https://wiki.sugarlabs.org/go/Design_Team/Proposals/Frame#Frame_Clock

Please take over and update the feature page:
https://wiki.sugarlabs.org/go/Features/Clock_in_Frame

At OLPC, my main concern with display clock feature is that it will
wake up the CPU and consume power on a regular basis.  This scales
across the laptop population.  To control for this impact, I suggest;

1.  by default, display hours and minutes, not seconds,

2.  blank the clock before an automatic power management suspend
event, which requires some interprocess communication with powerd.

Hope this helps!

On Mon, Apr 11, 2016 at 01:37:24AM +0530, Utkarsh Tiwari wrote:
> Hi,
>     I would like to work on this feature-enhancement ->
> https://bugs.sugarlabs.org/ticket/3829.
> Could anyone here please share the expected behaviors and design ?
> 
> Thanks,
> Utkarsh Tiwari

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list