User:Ixo/Project/Settings: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (swapping language mode)
Line 80: Line 80:
DPMS (Energy Star) features.
DPMS (Energy Star) features.


== language swap ==
Keyboard layout: switching from Amharic <> US

- switch to a virtual console (alt+ctrl+F1 or alt+ctrl+F2) F1 is the
mesh view key and F2 the friends view key
- edit /home/olpc/.i18n
- nano /home/olpc/.i18n
- LANG="en_US.UTF-8"
- ctrl+o for save and ctrl+x for quitting
== Other ==
== Other ==

Revision as of 06:11, 12 February 2008

Overview

PROJECT: ixo-Tweak
DESC: GUI interface to sugar-control-panel, and other options
   command-line options also available so can be programmable via scripts / cron.

System info

(and alt boot)

sugar-control-panel options

(also do a -help to complete list of new un-supported options)

Time Zone

Nick

Colors

Disk information

Suspend mode on/off

To prevent suspend from happening.

$ touch /etc/ohm/inhibit-suspend

To re-enable suspend.

$ rm  /etc/ohm/inhibit-suspend

Radio On / Off

From Ricardo Carrano <carrano@ricardocarrano.com> cc devel <devel@laptop.org>, date Jan 17, 2008 11:06 AM subject Re: Testing the Wireless driver changes

Indeed we had this airplane mode discussion two weeks ago: Why don't we?


To completely silence the radio:

#!/bin/bash
rmmod usb8xxx
mv /lib/firmaware/usb8883.bin /lib/firmaware/usb8883.bin.quiet

It will survive reboots.


To bring it back:

#!/bin/bash
mv /lib/firmaware/usb8883.bin.quiet /lib/firmaware/usb8883.bin
rmmod usb8xxx; sleep1; modprobe usb8xxx

No reboot necessary.


Backlight

The backlight levels can be modified by writing to /sys/class/backlight/dcon-bl/brightness. The backlight seems to have 15 levels of color-mode brightness (1-15) and one level indicating black and white mode (0).

Here're examples of how to modify the backlight levels from the Terminal:

           sudo bash -c "echo 0 > /sys/class/backlight/dcon-bl/brightness"
           sudo bash -c "echo 15 > /sys/class/backlight/dcon-bl/brightness"

Auto-update

Current releases of OLPC OS do not use update streams using the method detailed below. 13.2.5 and later do automatically update activities, and this is a feature of Sugar.

Deployment builds of OLPS OS can be configured to contact OLPC on average once a day in order to see if there is a new build which it should be running. Each XO can be subscribed to one of a number of "update streams":

  • none - never update me.
  • stable - latest stable build
  • testing - release candidates or stable upgrade testing
  • joyride - not yet implemented, but will someday give you the latest joyride build automatically.
activation.laptop.org
has been turned off,
if this hinders you,
read more about it.

See https://activation.laptop.org/streams/ for the full list. The stream an XO is subscribed to is determined as follows:

  1. If there is a file named /security/update-stream containing a stream name, use it.
  2. Otherwise, if there is a file named /etc/olpc-update/update-stream with a stream name, use this. (This is used in joyride builds to ensure the joyride machines are by default subscribed to joyride, not stable.)
  3. Otherwise, if the laptop belongs to an 'update group' in OLPC's database, and the update group names a default stream, use it. (This allows us to remotely upgrade XOs in school deployments.)
  4. Otherwise, use the default update stream specified by the server, which is currently 'stable'.

Automatic update prevention

Start the Terminal Activity and become the root user, then at the # prompt type

echo none > /security/update-stream

then press the Enter key.

x display screen saver

The X display blanking (or screensaver)

From the Terminal, try:

xset -s noblank xset -dpms

The first of these shuts-off the screen saver, the second disables DPMS (Energy Star) features.

language swap

Keyboard layout: switching from Amharic <> US

- switch to a virtual console (alt+ctrl+F1 or alt+ctrl+F2) F1 is the

mesh view key and F2 the friends view key

- edit /home/olpc/.i18n
- nano /home/olpc/.i18n
   - LANG="en_US.UTF-8"
   - ctrl+o for save and ctrl+x for quitting

Other