Sugar-Control-Panel

From OLPC
Revision as of 16:18, 14 January 2008 by Chihyu (talk | contribs) (Color)
Jump to: navigation, search
This page is part of the XO Support FAQ.     Support Index | Print This Page
<imagemap>

Image:Support-banner-square.png|173px|community support pages rect 0 0 135 204 [1] rect 135 0 345 204 Support FAQ rect 0 205 135 408 [2]

  1. Comment : there's some whitespace here:

rect 135 205 345 408 Other support

  1. maybe desc none is better. testing.

desc none

</imagemap>


The Sugar Control Panel command can be used from the Terminal Activity to change certain system settings.

To view all Sugar Control Panel options type:

   sugar-control-panel -l


Nickname

To view the current nickname for your XO type:

   sugar-control-panel -g nick

To change the nickname type:

    sugar-control-panel -s nick "My New Nickname" 

Note: some characters should not be used in the nickname as them may prevent Sugar from loading properly after you've changed the name. Such characters to avoid include -(minus sign), ... bad nickname recovery help.

Color

To change the color of the XO symbol at the center of your Home View, launch the Terminal Activity

At the prompt, type just one of the following example commands:

  sugar-control-panel -s color <outline color> <interior color> <outline shade> <interior shade>   (press "Enter")


The values for color are

  • red
  • orange
  • yellow
  • green
  • blue
  • purple

The optional shade values may be light, medium. or dark. They specify the darkness of the outline and interior color respectively.

It is suggested that the interior shade be medium or dark, so that the text in the Chat activity will be more readable (#5767).

Also, to ensure that the color scheme you choose is readable when the display is in monochrome mode, the outline and internal light/medium/dark values can not be the same. If you try to make them the same, they will be silently set to be different.

Restart Sugar by pressing these 3 keys at once: Ctrl-Alt-Erase.

Bonus: a few extra tips on running sugar-control-panel.

Time Zone

To find out what timezones are available execute:

sugar-control-panel -h timezone
sugar-control-panel -s timezone America/Chicago
exit

This will set the timezone to that of Chicago (Central Time)


(See also: Fixing XO clock Data)

Airplane Mode

To turn off the XO Wireless while flying, use the sugar-control-panel:

sugar-control-panel -s radio off
exit
  • Wireless will be restored the next time the XO laptop is rebooted, regardless of the method used to disable wireless connectivity. Advanced users only: if you don't want wireless auto-restarting on reboot, log in as root and rename /lib/firmware/usb8388.bin -- remembering to restore this file later! Finally, ongoing work to improve this functionality can be tracked here.
  • For advanced users: another way to disable wireless is to use Airplane mode.