Inputmethod in OLPC

http://cle.linux.org.tw/trac/attachment/wiki/TmpPhoto/olpc04.png?format=raw

STEP by STEP

  • get your OLPC image and mount it
    mount -o loop,offset=31744 olpc-redhat-stream-development-devel_ext3.img /mnt
    
  • get gcin for Fedora Core 6
  • chroot to /mnt and install gcin
    (I used a dirty method to do it...rpm2cpio...:-P)
  • update GTK+ immodules
    update-gtk-immodules i686-redhat-linux-gnu
    
  • edit /mnt/etc/gtk-2.0/i686-redhat-linux-gnu/gtk.immodules and
    change the second "gcin" to "gtk20"
    (You must do it, or gcin will not work.)
    "gcin" "gcin Input Method" "gtk20" "/usr/share/locale" "*"
    
  • install font
    cp bsmi00lp.ttf /mnt/usr/share/fonts
    
  • run fc-cache in chroot environment
    (This step should not be necessary, but I ran it.)
    fc-cache
    

Screenshots

"My Name:" can be Chinese.
(Chinese filename is not allowed.)

http://cle.linux.org.tw/trac/attachment/wiki/TmpPhoto/olpc01.png?format=raw

Input Methods menu in OLPC write (Abiword).

http://cle.linux.org.tw/trac/attachment/wiki/TmpPhoto/olpc02.png?format=raw

http://cle.linux.org.tw/trac/attachment/wiki/TmpPhoto/olpc03.png?format=raw

Gcin and scim have some OverTheSpot problem with Abiword (OLPC write).
Firefox (OLPC browser) is OK with gcin's OverTheSpot.

http://cle.linux.org.tw/trac/attachment/wiki/TmpPhoto/olpc04.png?format=raw

http://cle.linux.org.tw/trac/attachment/wiki/TmpPhoto/olpc05.png?format=raw

http://cle.linux.org.tw/trac/attachment/wiki/TmpPhoto/olpc06.png?format=raw

References