Re: Changing the Favorite Activities

2013-03-27 Thread T Gillett
Hi All

Just an update on this in case it is useful to others.

Following Jerry's suggestion, I wrote a script (stored on USB) that
installs a new version of the file:

/usr/share/sugar/data/activities.defaults

containing the set of activites that we want, and also removes (renames)
the file:

   /home/olpc/.sugar/default/favorite_activities

On rebooting, the favorite_activities file is recreated from the new
activities.defaults
and we get just the list of favorites in the Ring that we want. No other
user interaction is required.

Regards
Terry



On Fri, Mar 22, 2013 at 5:55 PM, Jerry Vonau jvo...@shaw.ca wrote:

 On Fri, 2013-03-22 at 13:52 +1000, T Gillett wrote:
  Hi
 
  I would like to be able to change the set of activities shown in the
  ring of the home view via a script in order to set up a batch of XO-1
  and XO-1.5 devices.
 
  Previously this was possible by changing the file
  /home/olpc/.sugar/default.favorite_activities
 
  However in the current stable release this no longer works. If the
  file is changed, it is replaced with the default list on restart.
 
  Is there another mechanism available to achieve this in the current
  release?
 
  Thanks in advance.
 

 Think the file you want is:

 /usr/share/sugar/data/activities.defaults

 Jerry




___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Changing the Favorite Activities

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 13:52 +1000, T Gillett wrote:
 Hi
 
 I would like to be able to change the set of activities shown in the
 ring of the home view via a script in order to set up a batch of XO-1
 and XO-1.5 devices.
 
 Previously this was possible by changing the file 
 /home/olpc/.sugar/default.favorite_activities
 
 However in the current stable release this no longer works. If the
 file is changed, it is replaced with the default list on restart.
 
 Is there another mechanism available to achieve this in the current
 release?
 
 Thanks in advance.
 

Think the file you want is:

/usr/share/sugar/data/activities.defaults

Jerry



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Changing the Favorite Activities

2013-03-21 Thread T Gillett
Hi

I would like to be able to change the set of activities shown in the ring
of the home view via a script in order to set up a batch of XO-1 and XO-1.5
devices.

Previously this was possible by changing the file
/home/olpc/.sugar/default.favorite_activities

However in the current stable release this no longer works. If the file is
changed, it is replaced with the default list on restart.

Is there another mechanism available to achieve this in the current release?

Thanks in advance.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel