[Production] Amharic input
Kim Quirk
kim at laptop.org
Wed Apr 30 23:58:24 EDT 2008
Using Build 703 + G1G1 activities; the terminal acitivity, pippy, and
abiword were all tested and I can't figure out how to get English
characters. US/English characters show up only in linux virtual terminal.
Even after a cleaninstall to 703, typing in the NAME: is only available in
ahmeric.
I set the mfg-data just as Quanta is setting it, based on the values from
the mfg-data table:
KMKLKVLOSKU(s)KA Reference
olpcus,etolpc2,basicam_ET.UTF-811us
Then do the cleaninstall (Arjun - did you do a cleaninstall after you set
the values for keyboard??).
Can't get US/English characters in Pippy, Terminal, AbiWord activities. But
I did get English numbers (top row). The other characters look like I am
getting an alternate font when I toggle the character change key... just not
the one I want to match the keyboard (English).
Thanks for any ideas,
Kim
2008/4/30 Bernie Innocenti <bernie at codewiz.org>:
> We need *way* more people in this thread if we want to get
> out of it! ;-)
>
> Sorry for the excessive quoting: it's to give Martin, Uwog
> and Sergey the whole context. Behdad is also on cc because
> I remember he was quite a guru of these things (let us
> know if you just want to be left in peace).
>
> I'd also be inclined to add devel@ because there seems to
> be little reason to keep this discretion confidential.
> Anyone opposed?
>
> ---8<---
>
> Arjun Sarwal wrote:
>
> > In my opinion this is something to do with using the correct font in
> > Abiword. Bernie can perhaps comment better.
>
> Yes, there was quite a catch!
>
> If I remember correctly, AbiWord automatically switches to the
> AM+ GTK input method when LANG=am_ET.UTF-8.
>
> The AM+ input method is designed to let you type in Amharic
> using a US keyboard layout. So you'd get the Amharic characters
> either way!
>
> Even worse, when you switch to the "am" layout, the input
> method gets confused and should be turned off. To enable this,
> there used to be a context menu to switch input methods, but it
> went away in recent versions of the Write activity (I guess
> intentionally, to be more compliant with our HIG). You may be
> able to experiment more with the GTK edit widgets, which have
> the menu still enabled.
>
> There was also a newer version of the AM+ input method in
> the works, but I can't remember who was working on it. Jim
> may have memory of it.
>
> To summarize: there's inconsistency/confusion between these
> three things: the "am" xkb layout, AbiWord and the GTK input
> method. In addition, eToys and other non-GTK activities will
> not be able to use the input method. I'm unsure about Browse
> because it's GTK, but through xulrunner. Which means it may
> have problems of its own.
>
> I've been tracking these unsolved problems in my wiki:
> http://www.codewiz.org/wiki/EthiopianLocale
>
> There are should also be a few bugs open in our Trac and
> elsewhere. See the wiki page for references. Sorry I've let
> these issues rot for months without reiterating. There were
> plenty of higher priority blockers for Update.1 at the time,
> and then I got sucked into other things.
>
> I cannot easily make an estimate of the effort required to
> solve all these remaining issues because they mostly affects
> layers above X11 which I'm quite unfamiliar with. Those
> people I added to the Cc list hopefully know better than me.
>
> These things requires a good deal specialized knowledge to
> get right. People like Arjun and myself may try to guess and
> interpolate, but it's really the job of a true i18n engineer,
> or at least someone who has an idea how Amharic input works
> on regular Linux systems.
>
>
> > Can you please confirm if you are observing exactly the same behavior
> > as you described in the test above, in repeating the test in Terminal
> > Activity ?
>
> What OLPC build are we talking about, by the way? Ethiopian
> had far more problems in Ship.{1,2} than in the later builds
> that eventually became Update.1.
>
>
>
> > thanks,
> > Arjun
> >
> >> Does that help figure out what is going on?
> >>
> >> Kim
> >>
> >>
> >>
> >>
> >> 2008/4/30 Arjun Sarwal <arjunsarwal at gmail.com>:
> >>
> >>
> >>> 2008/5/1 Kim Quirk <kim at laptop.org>:
> >>>
> >>>> Arjun, Mitch,
> >>>> I set the mfg-data to that which is found on:
> >>>> http://wiki.laptop.org/go/Mfg-data for ethiopia; then
> >>>> reboot and reimaged 703... I am doing thi s on a B4 and can't get
> >> English
> >>>> characters. This was using the info Mitch provided (which I have been
> >> using
> >>>> to test mfg-data for a while now).
> >>>>
> >>>> I haven't tried the KA setting... so I will try that next.
> >>>>
> >>>> Thank you for providing the location where this is kept. My
> >>>> /etc/sysconfig/keyboard file looks like this:
> >>>>
> >>>> KEYTABLE="us"
> >>>> XKB_MODEL="olpc"
> >>>>
> >>>> XKB_LAYOUT="us,et"
> >>>> XKB_VARIANT="olpc2,basic"
> >>>>
> >>>> Is the KEYTABLE the problem?
> >>> No, it seems fine. I had just included the two lines to be changed in
> my
> >> email.
> >>> The complete /etc/sysconfig/keyboard file should like like this after
> >> editing --
> >>>
> >>> KEYTABLE="us"
> >>> XKB_MODEL="olpc"
> >>> XKB_LAYOUT="us,et"
> >>> XKB_VARIANT="olpc2,basic"
> >>>
> >>>
> >>>
> >>>
> >>>> On my laptop the virtual linux terminal is in english... All the
> sugar
> >>>> typing is ONLY ethiopian characters.
> >>> Please test on the Terminal Activity and not in the virtual linux
> >>> terminal (Virtual terminal doesn't support alternate/multiple layouts
> >>> AFAIK) You could also test in the Write Activity.
> >>>
> >>>
> >>> Arjun
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>> Kim
> >>>>
> >>>>
> >>>> 2008/4/30 Mitch Bradley <wmb at laptop.org>:
> >>>>
> >>>>
> >>>>
> >>>>> This information is not in the wiki because I don't want end users
> >>>> changing mfg data, thus creating support headaches.
> >>>>> For development testing, you can change a tag value with, for
> example:
> >>>>>
> >>>>> ok " KL" $delete-tag
> >>>>> ok add-tag KL us,pk
> >>>>>
> >>>>> The KA tag is somewhat more difficult because it has a long value
> with
> >>>> binary data, so typing it in is error-prone. There is a script at
> >>>> http://dev.laptop.org/~wmb/setka.zip<http://dev.laptop.org/%7Ewmb/setka.zip>that will do it for some keyboard
> >>>> layouts that existed at the time I wrote the script.
> >>>>> There is also a collection of Python scripts to make ".ka" files
> from
> >> Wiki
> >>>> pages.
> >>>>> http://openbios.org/viewvc/cpu/x86/pc/olpc/?root=OpenFirmware look
> >> for
> >>>> parse*.py
> >>>>> The script to use depends on the format of the keyboard table in the
> >> wiki
> >>>> page.
> >>>>> Arjun Sarwal wrote:
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>> Kim,
> >>>>>>
> >>>>>> I set from within Sugar to use us(olpc2) as first layout and
> >> et(basic)
> >>>>>> as second and it works fine.
> >>>>>> I have an MP Machine with US English keyboard running the latest
> 703
> >>>> candidate.
> >>>>>>
> >>>>>> How you can do it from within Sugar is by editing
> >>>> /etc/sysconfig/keyboard
> >>>>>> and modify the following two lines to read as follows (leave the
> >>>>>> other lines as they are) --
> >>>>>>
> >>>>>>
> >>>>>> XKB_LAYOUT="us,et"
> >>>>>> XKB_VARIANT="olpc2,basic"
> >>>>>>
> >>>>>> then save this file and reboot the XO.
> >>>>>>
> >>>>>> Upon reboot, test in the Terminal.
> >>>>>> Type a few characters and you should see Amharic characters. Press
> >> the
> >>>>>> language switch key and you should see English characters, press
> the
> >>>>>> language switch key again and you should see Amharic characters
> >> again.
> >>>>>>
> >>>>>> I couldn't find the link in the Team namespace on teamwiki to edit
> >>>>>> tags in OFW. If you could point me to that page, I could test
> >> setting
> >>>>>> the tags in OFW and test out that aspect out too.
> >>>>>>
> >>>>>>
> >>>>>> thanks
> >>>>>> Arjun
> >>>>>>
> >>>>>>
> >>>>>> 2008/4/28 Zihaw Zhang(ÕÅÕý»ª) <Zihaw.Zhang at quantacn.com>:
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>> Dear Kim,
> >>>>>>>
> >>>>>>> Please tell us how can we to do next step? Shipping or hold
> >>>> shipment
> >>>>>>> and wait to update IMG or others? Our production line already
> >> produced
> >>>> a few
> >>>>>>> SKU11 machines. If need to stop our production line to produce
> >> SKU11?
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Best wishes!
> >>>>>>>
> >>>>>>> EPBU QM Zihaw Zhang(ÕÅÕý»ª)
> >>>>>>>
> >>>>>>> Tel:+86 21 37818168 Ext:14860
> >>>>>>>
> >>>>>>> Tech-com(shanghai)Computer Co.,Ltd
> >>>>>>>
> >>>>>>> E-mail: Zihaw Zhang at quantacn.com
> >>>>>>>
> >>>>>>> ________________________________
> >>>>>>>
> >>>>>>>
> >>>>>>> ·¢¼þÈË: kim.quirk at gmail.com [mailto:kim.quirk at gmail.com] ´ú±í Kim Quirk
> >>>>>>> ·¢ËÍʱ¼ä: 2008Äê4ÔÂ26ÈÕ 3:30
> >>>>>>> ÊÕ¼þÈË: Arjun Sarwal
> >>>>>>> ³ËÍ: Xiang Wei(κÏè); Zihaw Zhang(ÕÅÕý»ª); Matt Huang (üS¼ÎÓÓ);
> >>>> smithbone at gmail.com;
> >>>>>>> Eric Jiang(½×Ú»Ô); production at laptop.org; Bernie Innocenti; Mitch
> >>>> Bradley;
> >>>>>>> Wayne Tsai(²ÌãëÇÕ); Devin Liu(¢ÖÒÙt)
> >>>>>>> Ö÷Ìâ: Re: ´ð¸´: [Production] ´ð¸´: sku 10 sku 11 doudt
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Thanks Arjun,
> >>>>>>> I am testing with 703 because I was convinced there wasn't any
> >> real
> >>>> support
> >>>>>>> in 656. I can (and have) set mfg-data as if it is being set at
> >>>> quanta... so
> >>>>>>> I know that part is working.
> >>>>>>>
> >>>>>>> I use $add-tag and $delete-tag from OFW. I also re-image the
> >> laptop
> >>>> with
> >>>>>>> 703 after each major change to the mfg-data since I believe there
> >>>> might be a
> >>>>>>> problem with the 'first' time you boot after reimaging versus
> >> trying
> >>>> to make
> >>>>>>> a change in mfg-data and just booting.
> >>>>>>>
> >>>>>>> So I think I'm doing everything right. But there seems to be no
> >> way
> >>>> to get
> >>>>>>> English characters... only Ethiopian.
> >>>>>>>
> >>>>>>> Also, the wiki mfg-data says 'olpc2,basic'. As I mentioned below,
> >> I
> >>>> tried
> >>>>>>> both 'olpc2,basic' and 'olpc2,olpc' -- but neither of these let me
> >> get
> >>>> to
> >>>>>>> the English character set. Once it is loaded, I also try to press
> >> or
> >>>> hold
> >>>>>>> down the change keyboards key (lower right second from the
> >> bottom).
> >>>>>>> Kim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> 2008/4/25 Arjun Sarwal <arjun at laptop.org>:
> >>>>>>>
> >>>>>>>
> >>>>>>> Kim,
> >>>>>>>
> >>>>>>> I am sorry to go back one step and ask if a build prior to
> >> Update.1
> >>>> build
> >>>>>>> is being used.
> >>>>>>> The language switch key does not work for Ethiopian Keyboards in
> >>>> those
> >>>>>>> builds. Hence the XO doesn't know how to switch to English.
> >>>>>>>
> >>>>>>> However we have fixed it in Update.1 builds. If you are
> >> experiencing
> >>>> this
> >>>>>>> problem in 703, please let me know -- we'd need to quickly review
> >> the
> >>>>>>> patches that have gone into Update.1
> >>>>>>>
> >>>>>>> The correct variants that we need for a Ethopian+English layout
> >> are
> >>>> --
> >>>>>>> us -- olpc2
> >>>>>>> et -- olpc
> >>>>>>>
> >>>>>>> Regarding setting these correctly within OFW, I don't have the
> >>>> reference
> >>>>>>> sheet for the various tags , so I can't comment on if you setting
> >> them
> >>>>>>> correctly or not. Perhaps Mitch/Bernie might be able to tell
> >> better.
> >>>>>>> Bernie: For you reference this is the upstream patch submission
> >> we
> >>>> had
> >>>>>>> made for language switch key in Ethiopian layouts
> >>>>>>> http://bugs.freedesktop.org/show_bug.cgi?id=14225
> >>>>>>>
> >>>>>>>
> >>>>>>> Please let me know if I can help in any other way.
> >>>>>>>
> >>>>>>> best,
> >>>>>>> Arjun
> >>>>>>>
> >>>>>>>
> >>>>>>> 2008/4/25 Kim Quirk <kim at laptop.org>:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Zihaw, Xiang,
> >>>>>>> You are correct that there is a problem with the default or
> >> second
> >>>>>>> language.
> >>>>>>>
> >>>>>>> Bernie, Arjun,
> >>>>>>>
> >>>>>>> The mfg-data for this keyboard is the only one that is using:
> >>>> olpc2,basic
> >>>>>>> for KV (keyboard variant). I tried changing that to 'olpc2,olpc'.
> >> I
> >>>> also
> >>>>>>> tried removing the space in the KL variable (yours is 'us, et';
> >> and I
> >>>> think
> >>>>>>> we want 'us,et'). Neither of these changes helped.
> >>>>>>>
> >>>>>>> Please examine the mfg-data and tell me what you think could be
> >>>> causing
> >>>>>>> this laptop to come up in Ethiopian with no way to get English
> >>>> characters...
> >>>>>>> Thanks!!
> >>>>>>> Kim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> 2008/4/25 Xiang Wei(κÏè) <Xiang.Wei at quantacn.com>:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Daer Zihaw:
> >>>>>>>
> >>>>>>> About the SKU11,can not type and display Engliash language
> >> under
> >>>>>>> Terminal Application, I have verified with Image 703.the result is
> >>>> fail
> >>>>>>> .now~,I do the steps as below:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> 1) Just only update IMG to 703 ,the firmware is still Q1D07
> >>>>>>>
> >>>>>>> When boot into X-windows, all Appliaction can not display, blank
> >> space
> >>>> under
> >>>>>>> XO
> >>>>>>>
> >>>>>>> 2) update IMG to 703,and the firmware from Q1D07 to Q1D14
> >>>>>>>
> >>>>>>> the symptom just as above ,then I copy Terminal-10.xo to USB ,
> >> just
> >>>> want to
> >>>>>>> imitate the Terminal Application like OS install,then launch the
> >>>>>>> Terminal,but type any key .it always display Ethiopia language
> >> ,not
> >>>> English
> >>>>>>>
> >>>>>>>
> >>>>>>> I think that Image 703 can not fix the SKU11 problem ,so we
> >> should
> >>>> turn
> >>>>>>> to Kim for her help.
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Do you think so?
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> ________________________________
> >>>>>>>
> >>>>>>>
> >>>>>>> ·¢¼þÈË: production-bounces at lists.laptop.org
> >>>>>>> [mailto:production-bounces at lists.laptop.org] ´ú±í Zihaw Zhang(ÕÅÕý»ª)
> >>>>>>>
> >>>>>>> ·¢ËÍʱ¼ä: 2008Äê4ÔÂ25ÈÕ ÐÇÆÚÎå 9:43
> >>>>>>> ÊÕ¼þÈË: Kim Quirk; Bezier Huang(»ÆÆäÃô); Bernie Innocenti; Arjun
> >> Sarwal;
> >>>> Mitch
> >>>>>>> Bradley
> >>>>>>> ³ËÍ: Matt Huang (üS¼ÎÓÓ); Catherine Yin(Òó½à); smithbone at gmail.com;
> >> Eric
> >>>>>>> Jiang(½×Ú»Ô); Min Xia(ÏÄÃô); production at laptop.org
> >>>>>>>
> >>>>>>> Ö÷Ìâ: [Production] ´ð¸´: sku 10 sku 11 doudt
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Dear Kim,
> >>>>>>>
> >>>>>>> What about SKU11 problem? It is also urgent. Thanks!
> >>>>>>>
> >>>>>>> SKU11 question: When we test terminal function, need to input
> >> command,
> >>>> but
> >>>>>>> it only can input ETH language, we can't input English. But the OS
> >>>> can't
> >>>>>>> know ETH language. So we have no way to verify the function. We
> >> don't
> >>>> know
> >>>>>>> how shift English.
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Best wishes!
> >>>>>>>
> >>>>>>> EPBU QM Zihaw Zhang(ÕÅÕý»ª)
> >>>>>>>
> >>>>>>> Tel:+86 21 37818168 Ext:14860
> >>>>>>>
> >>>>>>> Tech-com(shanghai)Computer Co.,Ltd
> >>>>>>>
> >>>>>>> E-mail: Zihaw Zhang at quantacn.com
> >>>>>>>
> >>>>>>> ________________________________
> >>>>>>>
> >>>>>>>
> >>>>>>> ·¢¼þÈË: kim.quirk at gmail.com [mailto:kim.quirk at gmail.com] ´ú±í Kim Quirk
> >>>>>>>
> >>>>>>> ·¢ËÍʱ¼ä: 2008Äê4ÔÂ25ÈÕ 0:29
> >>>>>>> ÊÕ¼þÈË: Bezier Huang(»ÆÆäÃô); Bernie Innocenti; Arjun Sarwal; Mitch
> >> Bradley
> >>>>>>> ³ËÍ: wad at laptop.org; smithbone at gmail.com; production at laptop.org;
> >> Gary
> >>>>>>> Liu(ÁõÀ¤Õþ); Matt Huang (üS¼ÎÓÓ); Luna Huang (üS½Áá); Devin Liu(¢ÖÒÙt);
> >>>> Catherine
> >>>>>>> Yin(Òó½à); Zihaw Zhang(ÕÅÕý»ª); Eva Liu(ÁõÓ±); Eric Jiang(½×Ú»Ô); Min
> >> Xia(ÏÄÃô)
> >>>>>>> Ö÷Ìâ: Re: sku 10 sku 11 doudt
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> I updated a laptop here to 703, changed mfg-data to SKU10, and the
> >> ?/
> >>>> keys
> >>>>>>> work just fine in both the terminal and Abiword.
> >>>>>>>
> >>>>>>> I think that means it is ok.
> >>>>>>>
> >>>>>>> You can produce these.
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>> Kim
> >>>>>>>
> >>>>>>>
> >>>>>>> 2008/4/24 Kim Quirk <kim at laptop.org>:
> >>>>>>>
> >>>>>>>
> >>>>>>> Mitch, Arjun, Bernie - do you think the problems described below
> >> are
> >>>> fixed
> >>>>>>> in a newer release? Might it be a problem in mfg-data (like the
> >> 'KA'
> >>>> tag)?
> >>>>>>> It would be OK if the problems seen will be fixed when a newer OS
> >> is
> >>>> used.
> >>>>>>> We will have to ask the countries to upgrade when the laptops get
> >> into
> >>>> the
> >>>>>>> field (which is normal). If the problem can NOT be fixed with an
> >>>> upgrade...
> >>>>>>> then what should be done now?
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>> Kim
> >>>>>>>
> >>>>>>>
> >>>>>>> 2008/4/24 Bezier Huang(»ÆÆäÃô) <Bezier.Huang at quantacn.com>:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Dear kim
> >>>>>>>
> >>>>>>> We have 2 doubts on sku 10 and sku 11
> >>>>>>>
> >>>>>>> 1, on sku 10, we cann't use "?/" key as attached file in
> >> terminal,
> >>>> but
> >>>>>>> we can use it in workpad ,is right?
> >>>>>>>
> >>>>>>> 2, on sku 11, we can't type command in terminal, only can type
> >>>> word in
> >>>>>>> Amharic, how to shift? If can't shift, can we drop this test ?
> >>>>>>>
> >>>>>>> Please give me answer ASAP
> >>>>>>>
> >>>>>>> Thank you
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Bezier Huang
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>>
> >>>>>>>
> >>>>>>> Arjun Sarwal
> >>>>>>> Intern, One Laptop per Child
> >>>>>>> Email: arjun at laptop.org
> >>>>>>>
> >>>>>>>
> >>>>>>> IRC: arjs on irc.freenode.net in #olpc, #olpc-health, #sugar
> >>>>>>> Skype: arjunsarwal85
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> ------------------------------------------------------------------------
> >>>>>> _______________________________________________
> >>>>>> Production mailing list
> >>>>>> Production at lists.laptop.org
> >>>>>> http://lists.laptop.org/listinfo/production
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>>
> >>> --
> >>>
> >>>
> >>>
> >>> Arjun Sarwal
> >>> Intern, One Laptop per Child
> >>> Email: arjun at laptop.org
> >>> IRC: arjs on irc.freenode.net in #olpc, #olpc-health, #sugar
> >>>
>
>
> --
> \___/
> _| o | Bernie Innocenti - http://www.codewiz.org/
> \|_X_| "It's an education project, not a laptop project!"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080430/ba9dc09a/attachment.html>
More information about the Devel
mailing list