Difference between revisions of "Features/Change home view name"

From Sugar Labs
Jump to navigation Jump to search
(Created page with "== 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....")
 
 
Line 15: Line 15:
 
  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'}]"
 
  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 and another icon will be shown on the top right of the home view.
+
Restart Sugar and another ring icon will be shown on the top right of the home view.
  
 
=== Change home view label ===
 
=== Change home view label ===
Line 22: Line 22:
  
 
  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'}]"
 
  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 ==
 +
 +
* https://github.com/sugarlabs/sugar/pull/624

Latest revision as of 21:14, 10 December 2015

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