Ben Rothman's XO Setup: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: After the meet up I went home and typed up a document of every single thing I use to setup up the olpc from wiping it clean to 656. (in other words, every action I do on the olpc to custom...)
 
m (→‎Midnight Commander: added linkage)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Preface=
After the meet up I went home and typed up a document of every single thing I use to setup up the olpc from wiping it clean to 656. (in other words, every action I do on the olpc to customize it to the way I want it after clearing the memory doing an activated update to update 656.) basicly I did this to save time and work for times where I fill up the drive with junk and/or have any other problems. I have not seen if this works w/ the newest update.
: After the meet up I went home and typed up a document of every single thing I use to setup up the olpc from wiping it clean to 656. (in other words, every action I do on the OLPC to customize it to the way I want it after clearing the memory doing an activated update to update 656.) Basicly I did this to save time and work for times where I fill up the drive with junk and/or have any other problems. I have not seen if this works w/ the newest update.


But I digress, heres the txt document:
But I digress, heres the guide:


do whatever steps you want, obviously this is personalized towards me but much of it was learned at the [[MVCC]]
===============================================================================
List of all XO setup commands:


==READ FIRST: How to use this guide==
all indented text is to be typed into the terminal unless it has a *** in front, then it describes part of an action. after doing most actions a restart of flash (ctrl+alt+erase) is required


: I havent tested this by copying and pasting directly from the wiki yet so please tell me if something doesnt work. For now, I recommend downloading this txt version of the guide to your xo or usb/sd drive. I made this for even the most technologically challenged person so <b>please tell me if anything confuses you!</b>
===HOW TO SAVE TIME TYPING ALL THIS JUNK INTO THE TERMINAL===


Anything in these boxes is to be typed into the terminal. Anything else describes parts of an action.
***get a usb mouse and plug it into the XO
***open this email in the browse activity
***highlight one line and press ctrl+C
***switch to the terminal and test that you can type things
***press the scroll wheel (its also a button!) and it will paste the line of text
***press enter


A NOTE ABOUT CTRL+ALT+ERASE: I really only press it after doing everything in the setup
(lengthy, yes, but impossible to make mistakes)


: Do whatever steps you want, obviously this is personalized towards me but much of it was learned at the [[MVCC]] and is useful to everyone.
===get 656 onto the XO and clear memory===


==How to save time typing all this junk into the terminal==
(start on another computer)
***download http://download.laptop.org/xo-1/os/official/656/jffs2/fs.zip
***download http://download.laptop.org/xo-1/os/official/656/jffs2/os656.img
***put both onto a USB drive or SD card (i also throw in a zip file of all the downloaded activities I use to save time)
***put the usb/sd into your xo
***startup the xo while pressing all for buttons above the power button


#get a usb mouse and plug it into the XO
#open this email in the browse activity
#highlight one line and press ctrl+C
#switch to the terminal and test that you can type things
#press the scroll wheel (its also a button!) and it will paste the line of text
#press enter


(lengthy, yes, but impossible to make mistakes)
===Jabber on startup===
[if you dont want it on startup then just do the sugar-control-panel line (no su or vi boforehand)]
vi‭ .xsession
‭ o
‭ sugar-control-panel -s jabber jabber.olpchacks.org
‭[ (x) ]
:wq‭
‭ ctrl+alt+erase


=The Guide=


==how to get 656 onto the XO and clear memory==
===‭Opera===


(start on another computer)
‭ su -
rpm‭ -vi http://snapshot.opera.com/unix/olpc-544/opera-9.12-20070122.10-static-qt.i386-en.rpm
‭ exit
‭ mkdir /home/olpc/Activities
‭ cd /home/olpc/Activities
‭ wget http://people.opera.com/howcome/2007/olpc/opera-activity.tar.gz
‭ tar xvzf opera-activity.tar.gz
‭ rm opera-activity.tar.gz
‭ exit


#download http://download.laptop.org/xo-1/os/official/656/jffs2/fs.zip
#download http://download.laptop.org/xo-1/os/official/656/jffs2/os656.img
#put both onto a USB drive or SD card (i also throw in a zip file of all the downloaded activities I use to save time)
#put the usb/sd into your xo
#startup the xo while pressing all four buttons above the power button


==Jabber on startup==
===‭Flash===
(if you dont want it on startup then just do the sugar-control-panel line w/ no su or vi boforehand)


vi‭ .xsession
‭ su -
o
wget flash9048.notlong.com‭
sugar-control-panel -s jabber jabber.olpchacks.org
‭ rpm -i flash-plugin-9.0.48.0-release.i386.rpm
‭[(x)] <== this means press the escape button
‭ exit
:wq‭
‭ ctrl+alt+erase


==‭Opera==

su -
rpm‭ -vi http://snapshot.opera.com/unix/olpc-544/opera-9.12-20070122.10-static-qt.i386-en.rpm
exit
mkdir /home/olpc/Activities
cd /home/olpc/Activities
wget http://people.opera.com/howcome/2007/olpc/opera-activity.tar.gz
tar xvzf opera-activity.tar.gz
rm opera-activity.tar.gz
exit
Ctrl+Alt+Erase

==‭Flash==

su -
wget flash9048.notlong.com‭
rpm -i flash-plugin-9.0.48.0-release.i386.rpm
exit
Ctrl+Alt+Erase


===‭Remove click to play in flash===
===‭Remove click to play in flash===


su -
su -
cd /usr/share/activities/Web.activity
cd /usr/share/activities/Web.activity
mkdir bak‭
mkdir bak‭
mv agent-stylesheet.css bak
mv agent-stylesheet.css bak
mv clickToView.xml bak
mv clickToView.xml bak
exit
exit
Ctrl+Alt+Erase

==Midnight Commander==
this is a file browser to manage files and unzip the zip group of activities i put on the USB

(side note: you dont need to move the .xo files onto your XO computer, you can run them from the USB i think.

su -
yum install mc‭
exit
Ctrl+Alt+Erase

* Further details available on [[Midnight Commander]] wiki page.

==Files to Delete==


su -
mc
‭Then right-click on the following and press the DELETE button
* /usr/share/activities/AcousticMeasure.activity
* /usr/share/activities/TurtleArtActivity.activity
* /usr/share/activities/Paint.activity
‭Quit mc
exit
Ctrl+Alt+Erase


==‭Activities to Download==
‭===Midnight Commander (file browsing)===
(again, i put these into a zip folder and threw it into my boot SD card, dedicated to serve the boot function, so that I dont need to downloadthem from the XO)


#‭Start the Browse Activity
‭ su -
#‭Go to the following URLs
yum install mc‭
‭ exit


http://wiki.laptop.org/images/8/88/BlockParty-7.xo


http://wiki.laptop.org/images/a/a6/Simcity-4.xo
‭===Files to delete===


http://wiki.laptop.org/images/a/ad/Implode-2.xo
‭ su -
‭ mc
‭ ***Then hilight the following and press [delete]
‭ ***/usr/share/activities/AcousticMeasure.activity
‭ ***/usr/share/activities/TurtleArtActivity.activity
‭ ***/usr/share/activities/Paint.activity
‭ ***Quit mc
‭ exit


http://www.wadeb.com/Bounce-4.xo


http://wiki.laptop.org/images/b/b8/Doom-1.xo
===‭Activities to Download===
[again, i put these into a zip folder and threw it into my boot SD card(dedicated to serve the boot function) so that I dont need to downloadthem from the XO]


http://wiki.laptop.org/images/1/18/Speak-5.xo
‭ ***Start the Browse Activity
‭ ***Go to the following URLs
‭ ***http://wiki.laptop.org/images/8/88/BlockParty-7.xo
‭ ***http://wiki.laptop.org/images/a/a6/Simcity-4.xo
‭ ***http://wiki.laptop.org/images/a/ad/Implode-2.xo
‭ ***http://www.wadeb.com/Bounce-4.xo
‭ ***http://wiki.laptop.org/images/b/b8/Doom-1.xo
‭ ***http://wiki.laptop.org/images/1/18/Speak-5.xo
‭ ***http://wiki.laptop.org/images/2/2c/Frotz-2.xo


http://wiki.laptop.org/images/2/2c/Frotz-2.xo




I really hope this helps more than it confuses. Feel free to make comments about it on the discussion page.
Someone whose name i forget was looking into overclocking the XO. How did that go? (overclock means making the processor run faster than it is supposed to at the risk of frying your processor)


Ben Rothman
I really hope this helps more than it confuses
-Ben Rothman

Latest revision as of 19:42, 18 November 2008

Preface

After the meet up I went home and typed up a document of every single thing I use to setup up the olpc from wiping it clean to 656. (in other words, every action I do on the OLPC to customize it to the way I want it after clearing the memory doing an activated update to update 656.) Basicly I did this to save time and work for times where I fill up the drive with junk and/or have any other problems. I have not seen if this works w/ the newest update.

But I digress, heres the guide:


READ FIRST: How to use this guide

I havent tested this by copying and pasting directly from the wiki yet so please tell me if something doesnt work. For now, I recommend downloading this txt version of the guide to your xo or usb/sd drive. I made this for even the most technologically challenged person so please tell me if anything confuses you!
Anything in these boxes is to be typed into the terminal. Anything else describes parts of an action.

A NOTE ABOUT CTRL+ALT+ERASE: I really only press it after doing everything in the setup

Do whatever steps you want, obviously this is personalized towards me but much of it was learned at the MVCC and is useful to everyone.

How to save time typing all this junk into the terminal

  1. get a usb mouse and plug it into the XO
  2. open this email in the browse activity
  3. highlight one line and press ctrl+C
  4. switch to the terminal and test that you can type things
  5. press the scroll wheel (its also a button!) and it will paste the line of text
  6. press enter

(lengthy, yes, but impossible to make mistakes)

The Guide

how to get 656 onto the XO and clear memory

(start on another computer)

  1. download http://download.laptop.org/xo-1/os/official/656/jffs2/fs.zip
  2. download http://download.laptop.org/xo-1/os/official/656/jffs2/os656.img
  3. put both onto a USB drive or SD card (i also throw in a zip file of all the downloaded activities I use to save time)
  4. put the usb/sd into your xo
  5. startup the xo while pressing all four buttons above the power button

Jabber on startup

(if you dont want it on startup then just do the sugar-control-panel line w/ no su or vi boforehand)

vi‭ .xsession
o
sugar-control-panel -s jabber jabber.olpchacks.org
‭[(x)]   <== this means press the escape button
:wq‭

‭ ctrl+alt+erase

‭Opera

su -
rpm‭ -vi http://snapshot.opera.com/unix/olpc-544/opera-9.12-20070122.10-static-qt.i386-en.rpm
exit
mkdir /home/olpc/Activities
cd /home/olpc/Activities
wget http://people.opera.com/howcome/2007/olpc/opera-activity.tar.gz
tar xvzf opera-activity.tar.gz
rm opera-activity.tar.gz
exit

Ctrl+Alt+Erase

‭Flash

su -
wget flash9048.notlong.com‭
rpm -i flash-plugin-9.0.48.0-release.i386.rpm
exit

Ctrl+Alt+Erase

‭Remove click to play in flash

su -
cd /usr/share/activities/Web.activity
mkdir bak‭
mv agent-stylesheet.css bak
mv clickToView.xml bak
exit

Ctrl+Alt+Erase

Midnight Commander

this is a file browser to manage files and unzip the zip group of activities i put on the USB

(side note: you dont need to move the .xo files onto your XO computer, you can run them from the USB i think.

su -
yum install mc‭
exit

Ctrl+Alt+Erase

Files to Delete

su -
mc

‭Then right-click on the following and press the DELETE button

  • /usr/share/activities/AcousticMeasure.activity
  • /usr/share/activities/TurtleArtActivity.activity
  • /usr/share/activities/Paint.activity

‭Quit mc

exit

Ctrl+Alt+Erase

‭Activities to Download

(again, i put these into a zip folder and threw it into my boot SD card, dedicated to serve the boot function, so that I dont need to downloadthem from the XO)

  1. ‭Start the Browse Activity
  2. ‭Go to the following URLs

http://wiki.laptop.org/images/8/88/BlockParty-7.xo

http://wiki.laptop.org/images/a/a6/Simcity-4.xo

http://wiki.laptop.org/images/a/ad/Implode-2.xo

http://www.wadeb.com/Bounce-4.xo

http://wiki.laptop.org/images/b/b8/Doom-1.xo

http://wiki.laptop.org/images/1/18/Speak-5.xo

http://wiki.laptop.org/images/2/2c/Frotz-2.xo


I really hope this helps more than it confuses. Feel free to make comments about it on the discussion page.

Ben Rothman