Difference between revisions of "Platform Team/Sweets Distribution/0.94/Features"

From Sugar Labs
Jump to navigation Jump to search
(Created page with "The list of major features that this repository has, on top of pristine Sucrose, with information how to configure them. '''Improved Telepathy related code''' A part of Tele...")
 
Line 7: Line 7:
 
'''Blacklist Shell components'''
 
'''Blacklist Shell components'''
  
To make downstream distributing more flexible, Sweets Distribution provides functionality to blacklist usage of particular Shell components. The blocking rules should be place to arbitrary files to {{Code|/etc/sugar/blacklist}} directory. The blacklist might be overridden by {{Code|/etc/sugar/whitelist}} directory files. Each line in blacklist/whitelist files should contain one rule in format:
+
{{:Platform_Team/Sweets_Distribution/Features/Blacklists}}
 
 
<CATEGORY> <COMPONENT>
 
 
 
Where the {{Code|CATEGORY}} is a type of Shell components and {{Code|COMPONENT}} is an item within the catogory:
 
 
 
* '''cpsection'''<br>Control panel sections, components should be directory names from {{Code|/usr/share/sugar/extensions/cpsection}};
 
 
 
* '''deviceicon'''<br>Device icon, components should be {{Code|.py}} file names from {{Code|/usr/share/sugar/extensions/deviceicon}} directory;
 
 
 
* '''globalkey'''<br>Global key handler, components should be {{Code|.py}} file names from {{Code|/usr/share/sugar/extensions/globalkey}} directory;
 
 
 
* '''updater'''<br>Ignore activities while launching activity updates from ''Software update'' Control panel section, components should bundle_id values. For example, Sweets Distribution might provide Fructose activities, the ones that depend on not trivial dependencies should be used only from native packages.
 
 
 
# Example of blacklist file
 
 
updater    org.laptop.WebActivity  # Depends on broken xulrunner package
 
cpsection  sweets                  # Downstream distributions do not need it
 
deviceicon battery.py              # Broken on my system
 
globalkey  viewsource.py            # Аt the same time...
 
  
 
'''Disabled reusing of system users while registration'''
 
'''Disabled reusing of system users while registration'''

Revision as of 03:39, 12 August 2012

The list of major features that this repository has, on top of pristine Sucrose, with information how to configure them.

Improved Telepathy related code

A part of Telepathy related code was rewritten to try to minimize regressions from Glucose-0.88 code. The goal is to make Shell's Telepathy related functionality the same level stable as it was in 0.88 before total redesigning Telepathy related code.

Blacklist Shell components

Summary

To make deployment distribution more flexible, Sweets Distribution provides functionality to blacklist usage of particular Shell components. The reason for such blacklisting is that otherwise, the only way is removing unneeded Shell components from the installation directory, i.e., upstream packages need to be patched or post-install procedures should be processed. Blacklisting makes it possible to reuse upstream Shell packages as-is and change only local client configuration.

Blocking rules

The blocking rules should be placed to [blacklist] configuration section. Each section item blacklists particular Shell component:

  • deviceicon
    Space separated list of python files, from deviceicon directory, to disable corresponding device icons;
  • cpsection
    Space separated list of directory names, from cpsection directory, to disable corresponding Control Panel sections;
  • globalkey
    Space separated list of python files, from globalkey directory, to disable corresponding global keys.

Disabled reusing of system users while registration

In pristine Sucrose, this feature is enabled by default. That means that system user will be reused as Sugar nickname while Sugar initial startup. To revert original behavior, set /desktop/sugar/user/default_nick GConf key to system.

Registration on school servers is disabled by default

Sugar Shell support registration on OLPC XS school server. Sweets Distribution does not provide OLPS XS and this functionality is disabled by default. To revert original behavior, set /schemas/desktop/sugar/show_register GConf key to true.

Closer integration with login managers

Sugar Shell will reuse language setting from GDM manager, #2603.