Features/Change home view name

From Sugar Labs
Jump to navigation Jump to search

Testing

Feature depends on the homeviews key of the org.sugarlabs.desktop schema.

Default initial condition

The default in Sugar 0.107.0:

gsettings set org.sugarlabs.desktop homeviews "[{'layout': 'ring-layout', 'view-icon': 'view-radial', 'favorite-icon': 'emblem-favorite'}]"

Add second home view

Add a second home view using the standard icons:

gsettings set org.sugarlabs.desktop homeviews "[{'layout': 'ring-layout', 'view-icon': 'view-radial', 'favorite-icon': 'emblem-favorite'}, {'layout': 'ring-layout', 'view-icon': 'view-radial', 'favorite-icon': 'emblem-favorite'}]"

Restart Sugar and another ring icon will be shown on the top right of the home view.

Change home view label

Set different view labels:

gsettings set org.sugarlabs.desktop homeviews "[{'layout': 'ring-layout', 'view-icon': 'view-radial', 'favorite-icon': 'emblem-favorite', 'view-label': 'alpha'}, {'layout': 'ring-layout', 'view-icon': 'view-radial', 'favorite-icon': 'emblem-favorite', 'view-label': 'omega'}]"

Restart Sugar and the icon label shall have changed.

References