Features/Change home view name

< Features
Revision as of 21:14, 10 December 2015 by Quozl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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