User:SamuelRiv

From OLPC
Revision as of 01:56, 29 July 2011 by SamuelRiv (talk | contribs) (Midori: terminal text commented in)
Jump to: navigation, search

I acquired my XO-1.0 from craigslist at the end of 2009, have been using it as an e-reader for academic papers since, and am now beginning to do mods and development.

I will update development notes and fixes as time goes on.


Sugar

Activity installation notes

Midori

The easy method of yum install midori works perfectly to get the last update v0.2.2-1.fc11 of midori for Fedora Core 11, the current (04/2011) distro on which the OS is based. However, the next (06/2011) update of the XO will use Fedora Core 14, for which the latest version of Midori is v0.2.9-4.fc14, and we will see if yum can keep up. Otherwise, I will post instructions.

Note also that Midori requires WebKit. It seems yum handles the dependency fine, but for reference the latest version WebKit-1.1.1-1.fc11 is compatible with Fedora Core 11 and above. I'm not sure if it's advantageous to run out and get the latest version, and as of writing this I'm not sure how to check what version is currently running.


UPDATE 07/29/2011: With a clean install of 11.2.0, typing yum install midori correctly downloads 0.2.9-4.fc14 correctly from xo1 repository. (Installation source is commented out in source below).

Running transaction check

---> Package midori.i686 0:0.2.9-4.fc14 set to be installed --> Finished Dependency Resolution

Dependencies Resolved

=================================================================
Package          Arch           Version                Repository         Size
=================================================================

Installing:

midori           i686           0.2.9-4.fc14           updates           894 k

Transaction Summary

=================================================================

Install 1 Package(s)

Total download size: 894 k Installed size: 3.3 M Is this ok [y/N]: y Downloading Packages: midori-0.2.9-4.fc14.i686.rpm | 894 kB 00:01 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY updates/gpgkey | 3.2 kB 00:00 ... Importing GPG key 0x97A1071F:

Userid : Fedora (14) <fedora@fedoraproject.org>
Package: fedora-release-14-1.noarch (@koji.dist-f14-i686/$releasever)
From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386

Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction

 Installing     : midori-0.2.9-4.fc14.i686                                 1/1 

midori-0.2.9-4.fc14.i686 was supposed to be installed but is not!

Installed:

 midori.i686 0:0.2.9-4.fc14                                                    

Complete! [olpc@xo-11-01-7a ~]$ midori

(midori:2433): Gtk-WARNING **: Error loading theme icon 'stock_new-tab' for stock: Icon 'stock_new-tab' not present in theme

(midori:2433): Gtk-WARNING **: Error loading theme icon 'gnome-stock-trash' for stock: Icon 'gnome-stock-trash' not present in theme

    • (midori:2433): DEBUG: NP_Initialize
    • (midori:2433): DEBUG: NP_Initialize succeeded
    • (midori:2433): DEBUG: NP_Initialize
    • (midori:2433): DEBUG: NP_Initialize succeeded
    • (midori:2433): DEBUG: NP_Initialize
    • (midori:2433): DEBUG: NP_Initialize succeeded
    • (midori:2433): DEBUG: NP_Initialize
    • (midori:2433): DEBUG: NP_Initialize succeeded
    • (midori:2433): DEBUG: NP_Shutdown

[olpc@xo-11-01-7a ~]$ -->

Sugarizing

References on this site to previous directions on how to get the Sugar activity display from the Sugarizing script from CatMoran now link to the Internet Archive's copy of his page (where he oddly about losing hosting from Sugarlabs, even though the total data hosted is less than 1Mb). The Archive still hosts his original scripts, but the scripts themselves use outdated directions and had to be modified, after which it works in a very user-friendly manner. I will reproduce his page as best as I can, with corrections, in User:SamuelRiv/Sugarization.

Activity bug notes

  • We need a monochrome svg for GCompris-Geography
  • We need a Sugar color-adopting svg for Deducto
  • Can't do IRC or anything with Chat
  • No syntax documentation for Calculate - the plot() function follows no conventions I know of


UI complaints to fix

  • From day one, I have hated the wireless network display because there is no correlation of the placement of nodes to any measured feature of the given network. I understand that direction is not (easily) achievable, but by randomizing the node placement, it gives this illusion very powerfully. Furthermore, in a city apartment, the screen is bogged down by home networks that are of little relevance.


Gnome default

Alternative OS

I am in the process of testing Android and Joli OS on an external laptop.

05/2011: Android is really for touchscreens. However, its trackpad-scroll interface may be useful to play with for the resistive tablet. Joli OS is a windowless rehash of Ubuntu Gnome Desktop without any advantages of size or speed. I also tried Plan 9, which while fun is an inappropriate UI. I still feel that the Gnome used on the current OS should have easy fullscreen compatibility. I mapped the black-window key, one over from the Frame Key on the top right of the keyboard, to F11, which is suitable for fullscreening most apps.

Hardware compatibility

I will update here the cheap Chinese crap that is undocumented otherwise that appears to work out-of-the-box with Sugar.

Resistive tablet pad

Still working on this.