User:NeoAmsterdam: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (More hidden bits.)
 
(49 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:NeoAmsterdam 20100909T211708-0400.png|thumb|right|__TOC__]]
<div style="float: right;">__TOC__</div>
= Chronology =
* G1G1 donor 2007
* G1G1 donor 2007
* Introduced to OLPC via Lilug (sp. by [http://www.j5live.com J5]'s [http://www.archive.org/details/LILUG_20070508_OLPC demo] at [http://lilug.org LILUG])
* Introduced to OLPC via Lilug (sp. by [http://www.j5live.com J5]'s [http://www.archive.org/details/LILUG_20070508_OLPC demo] at [http://lilug.org LILUG])
* XO received on 2008/Mar/21 and it survived graduate school<br />(a bit dirty and the battery life's reduced a bit, but otherwise intact)
* XO received on 2008/Mar/21 and it survived graduate school<br />(a bit dirty and the battery life's reduced a bit, but otherwise intact)
* 2010/Mar/01: Overhauled this page.
* 2010/Jun/09: Added "Notes" section.
* 2010/Sep/04: Added bootable SD how-to for release 10.1.2


= Usage Notes =
= My Setup =
{|
So that others can enhance their XO experience (read: fix all those pains in the <tt style="font-size: smaller">root</tt>), I'm listing here a few tweaks that I've employed.
|- valign="top"
|
== Hardware ==
* XO-1
* 16GB Transcend SDHC card, model number TS16GSDHC6.
** Confirmed as a working and bootable device
** Geometry: 137 heads, 39 sectors/track, 5873 cylinders
** Performance: ≈48MB/s read, ≈1MB/s write (Class 6)
* [http://www.daskeyboard.com/model-s-professional/ Model S Das Keyboard]
* [http://www.mini-box.com/picoLCD-4x20-sideshow picoLCD]
|


== Software ==
{{olpcboxtop|toptext=}}
* Release 11.2.0 (Build 874) on NAND
<!--{{ OBX activity |[[Image:activity-terminal.svg|42px]]|core}}
* Fedora 14 Live (i686) on SD<!--
{{olpcboxbottom}}-->
* [[User:NeoAmsterdam/TilEm|TilEm]]
== Installing a Text Editor ==
* GCC
All of the following tweaks will need a text editor, such as <tt style="font-size: smaller;">emacs</tt>, <tt style="font-size: smaller;">vi</tt>, <tt style="font-size: smaller;">pico</tt>, or <tt style="font-size: smaller;">nano</tt>. You will also need a bit of command prompt savvy, such as <tt style="font-size: smaller;">cd</tt>, <tt style="font-size: smaller;">cp</tt>, and the meaning of <tt style="font-size: smaller;">~/</tt>.
* Kile and TeXLive
* gqview
* ImageMagick
* Fldigi
* SoX
* Wine
* LCDproc
* 3rd Party <tt>yum</tt>mies, including gtkpod, xmms, and VLC-->
|}<!--
=== Misc. ===
* [http://fukuchi.org/works/qrencode/index.en.html qrencode]
* [http://www.freebasic.net/index.php/details?page=download&category=bin&id=4 FreeBASIC]
* [http://atari800.sourceforge.net/ atari800]
-->


= Notes =
If your preferred text editor is not available, you can install it using ''[[yum]]'' as follows:
{|
# Open the '''[[Terminal]]''' activity
|- valign="top"
# Click the '''Activity''' tab at the top of the '''Terminal''' window
|
# Click the '''Become Root''' button in the upper right-hand side of the '''Activity''' tab<br />If your build does not have the '''Become Root''' button, type <tt>su</tt> to become the root user
[[User:NeoAmsterdam/Notes to Self|Notes to Self]]:<br />Things to do, ideas to try out, and stuff I doubt I'd ever get off the ground. Might be worth reading, but nothing significant will be found here.
# Type <tt>yum list "*<u style="text-decoration: underline; font-size: smaller; font-variant: italic;">name of text editor to be searched</u>*"</tt> and press [[Image:Key enter.jpg|24px]]<br />This will search through the list of ready-made programs (also called "precompiled binaries") to see if your preferred text editor is available for installation.<br />There may be varieties of your preferred text editor available for installation. Keep in mind that graphical versions of programs will run at a high resolution and be less legible as a result (I'm thinking specifically of <tt style="font-size: smaller;">xemacs</tt>, <tt style="font-size: smaller;">emacs</tt>, and <tt style="font-size: smaller;">emacs-nox</tt>).<br />For the record, I installed <tt style="font-size: smaller;">emacs-nox</tt>.
|
# When you've found your preferred text editor in the list, type <tt>yum install "<u style="text-decoration: underline; font-size: smaller; font-variant: italic;">name of text editor to be installed</u>"</tt> and press [[Image:Key enter.jpg|24px]]<br />The XO will make sure that all the programs that your text editor needs will be installed as well. Once that phase is complete, '''yum''' will ask for your approval of its to-do list.
[[User:NeoAmsterdam/Notes in Progress|Notes in Progress]]:<br />Things that are being done, tried out, and are either getting off the ground or imploding majestically. Don't rely on anything you read here.
# When '''yum''' completes the installation, type <tt>exit</tt> and press [[Image:Key enter.jpg|24px]] to return to your normal user status.
|
Your text editor should now be available from the command prompt. If you have installed an editor other than <tt style="font-size: smaller;">emacs</tt>, use ''its'' name in the instructions instead.
Snippets that I tend to repeat on several pages (effectively user templates):
*[[User:NeoAmsterdam/Snippets/ROMs|About ROMs]]
*[[User:NeoAmsterdam/Snippets/Yum|About yum]]
*[[User:NeoAmsterdam/Snippets/Source Code|About Building from Source Code]]
|}
== Firmware ==
* [[User:NeoAmsterdam/Overclocking|Overclocking]]


== Activites ==
{{Olpcboxtop|toptext=}}
* [[User:NeoAmsterdam/Customize Mini vMac's disk image|Customize Mini vMac's disk image]]
<!--{{OBX activity|[[Image:Xoirc.svg]]|2=extra|3=An [[IRC]] client based on [http://urk.sourceforge.net/ URK]}}-->
{{User irc | NeoAmsterdam |#olpc #sugar }}
<!--{{olpcboxbottom}}-->


== [[XoIRC]] ==
=== Setting the Default Nickname ===
'''XoIRC''''s page states that "''to make your default IRC nickname match your default XO nickname''" you can apply a patch, but it appears (as of 2008-01-11) that the link to the patch is dead. Here's how to get around it:


== Releases ==
# Open the '''[[Terminal]]''' activity
{|
# Locate <tt>XoIRC.activity/</tt> folder.<br />I found it at <tt>~/Activites/XoIRC.activity/</tt>, but it may be stored elsewhere on your XO.
|- valign="top"
# <tt>cd <u style="text-decoration: underline; font-size: smaller; font-variant: italic;">path to</u>/XoIRC.activity/purk/</tt>[[Image:Key enter.jpg|24px]]
|
# <tt> emacs irc.py</tt>[[Image:Key enter.jpg|24px]]
=== 8.0.2 (Build 821) ===
# Look for a line that reads <tt style="font-size: smaller;">nicks = [user_nick]</tt><br />I found it on line 71.
* [[User:NeoAmsterdam/Installing build 8.0.2 to a bootable SD card|Make a bootable SD card]]
# Insert the following on the line immediately afterwards: <tt>nicks = [<u style="text-decoration: underline; font-size: smaller; font-variant: italic;">your preferred nickname</u>]</tt>[[Image:Key enter.jpg|24px]]
* [[User:NeoAmsterdam/8.0.2/Activities|Activities that play nicely with 8.0.2]]
# Save the file and exit your editor.<br />'''XoIRC''' will now use your preferred nickname.
* [[User:NeoAmsterdam/8.0.2/Boot into IceWM|Booting into IceWM on 8.0.2]]
|
=== 10.1.2 (Build 852) ===
* [[User:NeoAmsterdam/10.1.2/Bootable SD|Make a bootable SD card]]
* [[User:NeoAmsterdam/10.1.2/Activities|Activities that play nicely with 10.1.2]]
* [[User:NeoAmsterdam/10.1.2/Gallery|Screenshot gallery]]
|- valign="top"
|
=== 10.1.3 (Build 860) ===
* [[User:NeoAmsterdam/10.1.3/Bootable SD|Make a bootable SD card]]
* [[User:NeoAmsterdam/10.1.3/Gallery|Screenshot gallery]]
|
=== 11.2.0 (Build 874) ===
* [[User:NeoAmsterdam/11.2.0/Bootable SD|Bootable SD card (or “How I gave up and settled for Fedora 14 Live”))]]<!--
* [[User:NeoAmsterdam/10.1.2/Activities|Activities that play nicely with 10.1.2]]
* [[User:NeoAmsterdam/10.1.2/Gallery|Screenshot gallery]]-->
|}


== Deprecated ==
Note that your IRC server may complain about your chosen nickname if the nickname had been registered or is in use by someone else. This workaround does not address that potential problem.
<span style="color: red;">'''Don't rely on these documents - they're slated for deletion.'''
* <s>[[User:NeoAmsterdam/Fedora 11 for XO-1: Install Notes|Fedora 11 for XO-1: Install Notes]]</s>
* <s>[[User:NeoAmsterdam/Reconfigure XoIRC's defaults|Reconfigure XoIRC's defaults]]</s>
</span>


= Troubleshooting =
=== Setting the Default IRC Server and Channel ===
*<tt>2009-09-03</tt><br />Battery stopped working, but the XO still functions on AC adapter.
'''XoIRC''' will connect to <tt style="font-size: smaller;">irc.freenode.net</tt> by default. Even though '''XoIRC''' is based on '''urk''', '''XoIRC''' seems to have disabled support for the '''urk.conf''' configuration file. Moreover, '''urk''''s documentation states that its settings can be altered with <tt style="font-size: smaller;">/pyeval</tt> statements in the IRC text input window. This also seems to have been disabled. Here's how to get around this limitation:
*<tt>2010-01-07</tt><br />Battery springs back to life of its own accord. I have no idea why.
*<tt>2010-03-25</tt><br />Battery again stops working. Since the XO has been unplugged and unused for the last three weeks, it's possible that the battery has discharged to the point that the XO cannot recognize its presence. Leaving the XO on and plugged in seems to have cured the battery detection problem, but the underlying cause remains unconfirmed.


----
# Open the '''[[Terminal]]''' activity
<gallery>
# Locate <tt>XoIRC.activity/</tt> folder.<br />I found it at <tt>~/Activites/XoIRC.activity/</tt>, but it may be stored elsewhere on your XO.
File:20081031-Artigas-Uruguay-990x660.jpg|<!--Drawing on the sidewalk in Artigas, Uruguay-->
# <tt>cd <u style="text-decoration: underline; font-size: smaller; font-variant: italic;">path to</u>/XoIRC.activity/</tt>[[Image:Key enter.jpg|24px]]
File:20091028-100 7483-990x660.jpg|<!--Proud girls on their way home from school in Ramallah-->
# <tt>emacs xoircactivity.py</tt>[[Image:Key enter.jpg|24px]]
File:Annan-sachs-bonsaaso.jpeg|<!--Kofi Annan and Jeff Sachs at a Millennium Village in Bonsaaso, Ghana-->
# Look for a line that reads <tt style="font-size: smaller;">client.join_server('irc.freenode.net')</tt><br />I found it on line 37.
File:DSCN2852-Edit-990x660.jpg|<!--Delirious girls record songs to their laptops at Vutakaka School in Takaungu, Kenya-->
# Change the contents of the line to read <tt style="font-size: smaller;">client.join_server('<u style="text-decoration: underline; font-size: smaller; font-variant: italic;">your preferred IRC server</u>')</tt>
<!--File:Statue-of-learning.jpg|Statue of Learning-->
# Look for a line that reads <tt style="font-size: smaller;">client.add_channel('#olpc-help')</tt>
<!--File:Nleexohospital2.svg|Proposed icon for an OLPC repair center (not the best, but kinda cute)-->
# Change the contents of the line to read <tt style="font-size: smaller;">client.join_server('#<u style="text-decoration: underline; font-size: smaller; font-variant: italic;">channel on server</u>')</tt> to automatically join on startup.<br />I have ''not'' tested '''XoIRC''' without this line, but I suspect that commenting out this line (by beginning the line with a <tt>#</tt>) will trip up '''XoIRC''' and cause it to crash.
</gallery>
# Save the file and exit your editor.<br />'''XoIRC''' will now use your preferred IRC server and autojoin you to your preferred channel.
You can tell '''XoIRC''' to autojoin other channels from within the program by right-clicking a channel's tab and selecting '''Autojoin'''

=== Automating NickServe/Identifications ===
I haven't figured that out yet. You will have to <tt>/msg NickServ</tt> manually.

<!--{{Olpcboxtop|toptext=}}
{{OBX activity|[[Image:minivmac.svg]]|extra|A [http://en.wikipedia.org/wiki/Macintosh_Plus Mac Plus] emulator based on [http://minivmac.sourceforge.net/ Mini vMac]}}
{{Olpcboxbottom}}-->
= Mini vMac =
=== Changing the Default Disk Image ===
Still figuring it out, but it probably involves <tt style="font-size: smaller;">MiniVMac.activity/bin/minivmacactivity</tt> . If not, overwriting the supplied disk image may be the only other option.

Latest revision as of 21:26, 5 September 2011

Chronology

  • G1G1 donor 2007
  • Introduced to OLPC via Lilug (sp. by J5's demo at LILUG)
  • XO received on 2008/Mar/21 and it survived graduate school
    (a bit dirty and the battery life's reduced a bit, but otherwise intact)
  • 2010/Mar/01: Overhauled this page.
  • 2010/Jun/09: Added "Notes" section.
  • 2010/Sep/04: Added bootable SD how-to for release 10.1.2

My Setup

Hardware

  • XO-1
  • 16GB Transcend SDHC card, model number TS16GSDHC6.
    • Confirmed as a working and bootable device
    • Geometry: 137 heads, 39 sectors/track, 5873 cylinders
    • Performance: ≈48MB/s read, ≈1MB/s write (Class 6)
  • Model S Das Keyboard
  • picoLCD

Software

  • Release 11.2.0 (Build 874) on NAND
  • Fedora 14 Live (i686) on SD

Notes

Notes to Self:
Things to do, ideas to try out, and stuff I doubt I'd ever get off the ground. Might be worth reading, but nothing significant will be found here.

Notes in Progress:
Things that are being done, tried out, and are either getting off the ground or imploding majestically. Don't rely on anything you read here.

Snippets that I tend to repeat on several pages (effectively user templates):

Firmware

Activites


Releases

8.0.2 (Build 821)

10.1.2 (Build 852)

10.1.3 (Build 860)

11.2.0 (Build 874)

Deprecated

Don't rely on these documents - they're slated for deletion.

Troubleshooting

  • 2009-09-03
    Battery stopped working, but the XO still functions on AC adapter.
  • 2010-01-07
    Battery springs back to life of its own accord. I have no idea why.
  • 2010-03-25
    Battery again stops working. Since the XO has been unplugged and unused for the last three weeks, it's possible that the battery has discharged to the point that the XO cannot recognize its presence. Leaving the XO on and plugged in seems to have cured the battery detection problem, but the underlying cause remains unconfirmed.