Changes

117 bytes added ,  12:51, 17 June 2014
Line 97: Line 97:  
However, not every deployment may want to group users by age, e.g., in Australia, they group students by grade.
 
However, not every deployment may want to group users by age, e.g., in Australia, they group students by grade.
   −
Using a configuration file (/usr/share/sugar/data/group-labels.defaults), it is possible to configure the selection into groups  
+
Using a configuration file (<code>/usr/share/sugar/data/group-labels.defaults</code>), it is possible to configure the selection into groups specific to the needs of a deployment. The configuration file is a JSON-encoded Python dictionary that maps ages to labels and icons associated with those labels. There is also an environment variable <code>$SUGAR_GROUP_LABELS</code> defined in <code>sugar.in</code>.
specific to the needs of a deployment. The configuration file is a JSON-encoded Python dictionary that maps ages to labels and icons associated with those labels.
      
The file that configures the default Sugar behavior is shown here (with added CRs for readability in the wiki):
 
The file that configures the default Sugar behavior is shown here (with added CRs for readability in the wiki):