Talk:Sugar Control Panel: Difference between revisions
IainDavidson (talk | contribs) m (added options for Olpc-update) |
No edit summary |
||
(16 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
== Which builds is the sugar control panel in? == |
|||
I can't find it in the XO live CD (build 625) -- [[User:Rhyre]] in February 2008 |
|||
: The command-line <tt>sugar-control-panel</tt> has been present for a long time. The graphical tool will be in release [[8.2.0]], which is not released. If you want to run nearer the bleeding edge, you can install a development build, like a weekly "semi-approved" build. See [[Friends in testing]] -- [[User:Skierpage|Skierpage]] 00:47, 4 August 2008 (UTC) |
|||
== Activity '''sugar-control-panel''' GUI ? == |
== Activity '''sugar-control-panel''' GUI ? == |
||
---- |
|||
It would be great if there was an Activity to allow changing of settings and avoid using the command line. |
It would be great if there was an Activity to allow changing of settings and avoid using the command line. |
||
: There will be, in [[8.2.0]] the menu on the XO in [[Home view]] has a Control Panel item. -- [[User:Skierpage|Skierpage]] 00:47, 4 August 2008 (UTC) |
|||
Maybe carry the idea further into a 'skin/theme' customizer ? Update/modify the following: |
Maybe carry the idea further into a 'skin/theme' customizer ? Update/modify the following: |
||
Line 16: | Line 20: | ||
Advanced (typically only once or twice |
Advanced (typically run only once or twice) |
||
* Current time |
* Current time |
||
* TimeZone |
* TimeZone |
||
* Jabber server settings |
* Jabber server settings |
||
* Language settings |
* Language settings |
||
* Pointer/Cursor/Mouse acceleration, threshold settings (xset m[ouse] [accel_mult[/accel_div] [threshold]] . Persist this by invoking in /home/olpc/.xsession .) I found that different USB mice behaved differently, and the default behavior can be a usability problem for some USB mouse users. --[[User:FGrose|FGrose]] 12:00, 17 March 2008 (EDT) |
|||
File System maintence (Experts only) |
File System maintence (Experts only) |
||
Line 30: | Line 35: | ||
--[[User:IainDavidson|IainD]] 23:13, 30 December 2007 (EST) |
--[[User:IainDavidson|IainD]] 23:13, 30 December 2007 (EST) |
||
: Yes, this command-line application is a stopgap measure until the graphical user interface can be written. I'm not sure how far they've gotten, though; I haven't been able to find any relevant code in the repository. See the [[Requirements]] page for all the stuff they plan to put into it. Some of the stuff you've mentioned isn't in the list but may be useful in a separate app, perhaps? (But, for what it's worth, I think skinning/theming may be an unnecessary complication to the software at this point.) —[[User:Leejc|Joe]] 10:18, 31 December 2007 (EST) |
|||
---- |
---- |
||
---- |
|||
== Merge from [[Sugar-Control-Panel]] == |
|||
<pre> {{G1G1 Support FAQ}} </pre> |
|||
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|sugar-control-panel]] -l |
|||
== Nickname == |
|||
To view the current nickname for your XO type: |
|||
[[Sugar Control Panel|sugar-control-panel]] -g nick |
|||
To change the nickname type: |
|||
Open Terminal Activity. |
|||
[[Sugar Control Panel|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), ... [[User:D0li0#Problems with - in nickname|bad nickname recovery help]].'' |
|||
== Color == |
|||
To change the color of the XO symbol at the center of your [http://www.laptop.org/laptop/start/homeview.shtml Home View], launch the [[Terminal Activity]] |
|||
At the prompt, type just one of the following example commands: |
|||
[[Sugar Control Panel|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 ([http://dev.laptop.org/ticket/5767 #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 [[Sugar Control Panel|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|sugar-control-panel]] -s timezone America/Chicago |
|||
exit |
|||
This will set the timezone to that of Chicago (Central Time) |
|||
(See also: [[Test_Config_Notes#Fixing_XO_clock_Data|Fixing XO clock Data]]) |
|||
== Language == |
|||
To find out the current language enter: |
|||
sugar-control-panel -g language |
|||
To list available languages enter: |
|||
sugar-control-panel -h language |
|||
To change the language, enter |
|||
sugar-control-panel -s language '''<language>''' |
|||
Where '''<language>''' is on of the [[Sugar_Control_Panel#Languages|languages]] listed using the -h command |
|||
== 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. For more details, and information on how to disable the radio permanently go to [[Airplane mode]]. |
|||
---- |
|||
---- |
|||
== OLPC Forum == |
|||
Hi, I started a topic on this over at olpcnews.com/forum[http://olpcnews.com/forum], so I was wondering if there has been any progress made in this front if we could be notified, thanks in advance click on the number 2 to go to this forum [http://olpcnews.com/forum/index.php?topic=2073.0] |
|||
: I'm more of a Wiki/IRC user, but I have formed two activity projects. |
|||
:* [[User:Ixo/Project/Settings]] - for general sugar-control-panel settings, (time, radio off, etc) |
|||
:* [[User:Ixo/Project/Theme]] - for any 'look-n-feel' settings like colors, names, etc... |
|||
: Once I find someone else to co-author them, they'll be ready to start programming. :) --[[User:Ixo|ixo]] 02:13, 21 February 2008 (EST) |
|||
== Must restart sugar to make sugar-control-panel changes stick == |
|||
I found out the Hard Way this weekend that you must restart sugar with <ctrl-alt-erase> in order to make your nickname actually write after changing it with sugar-control-panel ("sugar-control-panel -s nick newnick"). Rebooting the machine loses your changes. |
|||
--[[User:Cshapiro|Cshapiro]] 11:35, 3 March 2008 (EST) |
|||
== hwclock not found == |
|||
I used rdate to get the correct time, but when I try to use the hwclock --systohc command I get a reply that hwclock command is not found. So where is it? --[[User:AuntiMame|AuntiMame]] 8:50, 8March 2008, (EST) |
|||
Likewise. I have one of the G1G1 models and no hwclock.<br> |
|||
--[[User:Rhododendrites|Rhododendrites]] 22:59, 3 April 2008 (EST) |
|||
su - |
|||
to login as root and hwclock will be available [[User:Tinker|Tinker]] 03:12, 17 July 2008 (UTC) |
|||
== Nick setting errors == |
|||
I just tried to set my nick using "sugar-control-panel -s nick Ryan" which gave me the following errors: |
|||
:<tt><nowiki>ERROR:root:Error reading public key: [Errno 2] No such file or directory: '/root/.sugar/default/owner.key.pub'</nowiki><br> |
|||
:<nowiki>ERROR:root:Error reading private key: [Errno 2] No such file or directory: '/root/.sugar/default/owner.key'</nowiki><br></tt> |
|||
However, after I reboot and try a "sugar-control-panel -g nick" it gives me the same two errors, but then ends with "Ryan." So it saved, anyway?<br> |
|||
--[[User:Rhododendrites|Rhododendrites]] 23:06, 3 April 2008 (EST) |
|||
:You must run as user olpc for the nick setting to work --[[User:Bert|Bert]] 08:16, 21 April 2008 (EDT) |
Latest revision as of 15:51, 14 October 2008
Which builds is the sugar control panel in?
I can't find it in the XO live CD (build 625) -- User:Rhyre in February 2008
- The command-line sugar-control-panel has been present for a long time. The graphical tool will be in release 8.2.0, which is not released. If you want to run nearer the bleeding edge, you can install a development build, like a weekly "semi-approved" build. See Friends in testing -- Skierpage 00:47, 4 August 2008 (UTC)
Activity sugar-control-panel GUI ?
It would be great if there was an Activity to allow changing of settings and avoid using the command line.
- There will be, in 8.2.0 the menu on the XO in Home view has a Control Panel item. -- Skierpage 00:47, 4 August 2008 (UTC)
Maybe carry the idea further into a 'skin/theme' customizer ? Update/modify the following:
Basic (might run multiple times)
- Icon (stroke and fill color)
- Background pattern/color for Sugar Control Panel
- Nick Name
- Wifi Radio on/off
- Update software (via olpc-update or yum update or yum upgrade )
- Turn off/on, 4-corner Frame activation
- Turn on/off, 'hand' buttons as pointer-click
Advanced (typically run only once or twice)
- Current time
- TimeZone
- Jabber server settings
- Language settings
- Pointer/Cursor/Mouse acceleration, threshold settings (xset m[ouse] [accel_mult[/accel_div] [threshold]] . Persist this by invoking in /home/olpc/.xsession .) I found that different USB mice behaved differently, and the default behavior can be a usability problem for some USB mouse users. --FGrose 12:00, 17 March 2008 (EDT)
File System maintence (Experts only)
- clear temp areas (/tmp /var/tmp, Cache, etc)
- Restart OS installation (olpc installed = no)
- Send configuration/settings information to Tech Support
Hmmm.. maybe I'll make an 'Activity Project' called 'Skin Themes' ? :) Any comments or people willing to help?
--IainD 23:13, 30 December 2007 (EST)
- Yes, this command-line application is a stopgap measure until the graphical user interface can be written. I'm not sure how far they've gotten, though; I haven't been able to find any relevant code in the repository. See the Requirements page for all the stuff they plan to put into it. Some of the stuff you've mentioned isn't in the list but may be useful in a separate app, perhaps? (But, for what it's worth, I think skinning/theming may be an unnecessary complication to the software at this point.) —Joe 10:18, 31 December 2007 (EST)
== Merge from Sugar-Control-Panel ==
{{G1G1 Support FAQ}}
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: Open Terminal Activity.
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)
Language
To find out the current language enter:
sugar-control-panel -g language
To list available languages enter:
sugar-control-panel -h language
To change the language, enter
sugar-control-panel -s language <language>
Where <language> is on of the languages listed using the -h command
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. For more details, and information on how to disable the radio permanently go to Airplane mode.
OLPC Forum
Hi, I started a topic on this over at olpcnews.com/forum[1], so I was wondering if there has been any progress made in this front if we could be notified, thanks in advance click on the number 2 to go to this forum [2]
- I'm more of a Wiki/IRC user, but I have formed two activity projects.
- User:Ixo/Project/Settings - for general sugar-control-panel settings, (time, radio off, etc)
- User:Ixo/Project/Theme - for any 'look-n-feel' settings like colors, names, etc...
- Once I find someone else to co-author them, they'll be ready to start programming. :) --ixo 02:13, 21 February 2008 (EST)
Must restart sugar to make sugar-control-panel changes stick
I found out the Hard Way this weekend that you must restart sugar with <ctrl-alt-erase> in order to make your nickname actually write after changing it with sugar-control-panel ("sugar-control-panel -s nick newnick"). Rebooting the machine loses your changes.
--Cshapiro 11:35, 3 March 2008 (EST)
hwclock not found
I used rdate to get the correct time, but when I try to use the hwclock --systohc command I get a reply that hwclock command is not found. So where is it? --AuntiMame 8:50, 8March 2008, (EST)
Likewise. I have one of the G1G1 models and no hwclock.
--Rhododendrites 22:59, 3 April 2008 (EST)
su - to login as root and hwclock will be available Tinker 03:12, 17 July 2008 (UTC)
Nick setting errors
I just tried to set my nick using "sugar-control-panel -s nick Ryan" which gave me the following errors:
- ERROR:root:Error reading public key: [Errno 2] No such file or directory: '/root/.sugar/default/owner.key.pub'
- ERROR:root:Error reading private key: [Errno 2] No such file or directory: '/root/.sugar/default/owner.key'
However, after I reboot and try a "sugar-control-panel -g nick" it gives me the same two errors, but then ends with "Ryan." So it saved, anyway?
--Rhododendrites 23:06, 3 April 2008 (EST)
- You must run as user olpc for the nick setting to work --Bert 08:16, 21 April 2008 (EDT)