Features/Change home view name

From Sugar Labs
< Features
Revision as of 22:14, 10 December 2015 by Quozl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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