<div dir="ltr">Hi Sarah,<div><br></div><div>french.xmodmap is the file I've create to match French keyboard keys to the US XO-4 Keyboard.</div><div>You have to create your own arabic.xmodmap file with your key mapping to Arabic Keyboard and put it in the /etc/X11 directory then update the file xbd.xbd (launched at startup) to call xmodmap command with your arabic.xmodmap file.</div><div>dokbfrupdate.sh mentioned on my mail is the script file I've created to update easily all laptops.<br></div><div>Basically we just have to put this file (and others files needed) on an USB key, boot each laptop, launch command line and launch the script. Then all files are installed on the laptop automatically, the laptop is power down and it will use the French keyboard at next boot. If you've have only few laptops to upgrade you could ignore this script and do the process manually.</div><div><br></div><div>Hope these information could help.</div><div><br></div><div>Best regards from France.</div><div><br></div><div> Lionel.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-01 21:31 GMT+02:00 Sarah Naguib <span dir="ltr"><<a href="mailto:sanaguib@gmail.com" target="_blank">sanaguib@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all,<div><br></div><div>I got the Arabic to work on my computer (yay!) but it also didn’t survive reboot. Lionel, thank you for the links that you sent. I looked at them and am wondering of the commands that are listed in the February link can be changed to fit other languages. For example, I see the command <span><span style="white-space:pre-wrap">xmodmap /etc/X11/french.xmodmap—would that be able to be changed to Arabic? At what step did you input these commands into the terminal? I apologize if I’m missing something (which I definitely have the tendency to do).</span></span></div><div><span><span style="white-space:pre-wrap"><br></span></span></div><div><span><span style="white-space:pre-wrap">Thanks all so much!</span></span></div><div><span><span style="white-space:pre-wrap"><br></span></span></div><div><span><span style="white-space:pre-wrap">Sarah</span></span></div><div><br></div><div><div><div><div><div class="h5"><div>On Jul 31, 2015, at 3:33 AM, Lionel Laské <<a href="mailto:lionel@olpc-france.org" target="_blank">lionel@olpc-france.org</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div><br></div>Hi Tim,<div><br></div><div>I've experimented a way to change the keyboard map on boot.</div><div>My need was to update XO-4 to a French keyboard.</div><div>See my exchanges here:</div><div><a href="http://lists.sugarlabs.org/archive/sugar-devel/2015-February/049555.html" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/2015-February/049555.html</a><br></div><div><a href="http://lists.sugarlabs.org/archive/sugar-devel/2014-December/049351.html" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/2014-December/049351.html</a><br></div><div><br></div><div>Hope it could help.</div><div><br></div><div>Best regards from France.</div><div><br></div><div> Lionel</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">2015-07-31 3:31 GMT+02:00 <span dir="ltr"><<a href="mailto:support-gang-request@lists.laptop.org" target="_blank">support-gang-request@lists.laptop.org</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Thu, 30 Jul 2015 21:31:32 -0400<br>
From: Tim Moody <<a href="mailto:tim@timmoody.com" target="_blank">tim@timmoody.com</a>><br>
To: "'Community Support Volunteers -- who help respond to \"help AT<br>
<a href="http://laptop.org/" rel="noreferrer" target="_blank">laptop.org</a>\"'" <<a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a>>, "'Gonzalo Odiard'"<br>
<<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>><br>
Cc: 'OLPC Localization list' <<a href="mailto:localization@lists.laptop.org" target="_blank">localization@lists.laptop.org</a>>, 'Unleash<br>
Kids!' <<a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a>>, 'Jerry Vonau' <<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a>><br>
Subject: Re: [support-gang] [Localization] [UKids] Write Activity<br>
Updates<br>
Message-ID: <<a href="mailto:BLU405-EAS9CEC730CEE22046E749AAC58A0@phx.gbl" target="_blank">BLU405-EAS9CEC730CEE22046E749AAC58A0@phx.gbl</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I just tested and this solution does not survive reboot.<br>
<br>
<br>
<br>
Can someone suggest the best way to do the setxkbmap ara command on boot or a config file in which to declare the map.<br>
<br>
<br>
<br>
From: support-gang [mailto:<a href="mailto:support-gang-bounces@lists.laptop.org" target="_blank">support-gang-bounces@lists.laptop.org</a>] On Behalf Of Tim Moody<br>
Sent: Thursday, July 30, 2015 12:43 PM<br>
To: 'Community Support Volunteers -- who help respond to "help AT <a href="http://laptop.org/" rel="noreferrer" target="_blank">laptop.org</a>"' <<a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a>>; 'Gonzalo Odiard' <<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>><br>
Cc: 'OLPC Localization list' <<a href="mailto:localization@lists.laptop.org" target="_blank">localization@lists.laptop.org</a>>; 'Unleash Kids!' <<a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a>>; 'Jerry Vonau' <<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a>><br>
Subject: Re: [support-gang] [Localization] [UKids] Write Activity Updates<br>
<br>
<br>
<br>
I should have mentioned, that we did not test exhaustively, but Khaled says that the keys correspond to the standard Arabic keyboard layout. The only thing we noticed is that diacriticals like tanwin and damma followed the character rather than being over it.<br>
<br>
<br>
<br>
From: <a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a> <mailto:<a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a>> [mailto:<a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a>] On Behalf Of Tim Moody<br>
Sent: Thursday, July 30, 2015 12:38 PM<br>
To: 'Community Support Volunteers -- who help respond to "help AT <a href="http://laptop.org/" rel="noreferrer" target="_blank">laptop.org</a>"' <<a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a> <mailto:<a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a>> >; 'Gonzalo Odiard' <<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a> <mailto:<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>> ><br>
Cc: 'OLPC Localization list' <<a href="mailto:localization@lists.laptop.org" target="_blank">localization@lists.laptop.org</a> <mailto:<a href="mailto:localization@lists.laptop.org" target="_blank">localization@lists.laptop.org</a>> >; 'Unleash Kids!' <<a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a> <mailto:<a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a>> >; 'Jerry Vonau' <<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a> <mailto:<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a>> ><br>
Subject: RE: [support-gang] [Localization] [UKids] Write Activity Updates<br>
<br>
<br>
<br>
So my son-in-law just typed my name in Arabic characters in the write activity on an xo-4.<br>
<br>
<br>
<br>
I as I often do, I used a shot-gun approach to get this to work, so it may be that not all of this is necessary or even the best approach, but here is what I did:<br>
<br>
<br>
<br>
in terminal under Sugar<br>
<br>
<br>
<br>
yum groupinstall arabic-support<br>
<br>
yum groupinstall input-methods<br>
<br>
<br>
<br>
I went down the road of SCIM, but I think it was a dead end.<br>
<br>
<br>
<br>
yum install scim-tables-arabic<br>
<br>
yum install scim-m17n<br>
<br>
at this point the keyboard still did not give anything but Roman characters.<br>
<br>
<br>
<br>
I switched to Gnome and under Applications->Other->Language I took Arabic-Egypt<br>
<br>
Under Applications->Other->Input Methods I chose IBus<br>
<br>
<br>
<br>
In terminal I did the command setxkbmap ara<br>
<br>
<br>
<br>
(I previously ran setxkbmap -print and saw quite a few includes, many with olpc in their names, so not sure if I lost control characters.)<br>
<br>
<br>
<br>
Now I went into the Abiword app under gnome, selected the KacstOffice font, and I could type Arabic characters.<br>
<br>
<br>
<br>
I switched back to Sugar and started Write. I was able to type Arabic characters.<br>
<br>
<br>
<br>
Probably I should follow Gonzalo's suggestion and install the font activity to get better font control for Write.<br>
<br>
<br>
<br>
I think there is a good chance that this will not survive a boot and that it would have to be done again if I switched to English in XO Settings.<br>
<br>
<br>
<br>
BTW,<br>
<br>
<br>
<br>
You can avoid having to reflash to get out of Arabic, by clicking on the world map icon (Language) and selecting the 4th item in the second column from the right which is<br>
<br>
<br>
<br>
الإنجليزية<br>
<br>
<br>
<br>
and then click the option which looks like a power button.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
From: support-gang [mailto:<a href="mailto:support-gang-bounces@lists.laptop.org" target="_blank">support-gang-bounces@lists.laptop.org</a>] On Behalf Of Sarah Naguib<br>
Sent: Monday, July 20, 2015 10:23 PM<br>
To: Gonzalo Odiard <<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a> <mailto:<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>> ><br>
Cc: OLPC Localization list <<a href="mailto:localization@lists.laptop.org" target="_blank">localization@lists.laptop.org</a> <mailto:<a href="mailto:localization@lists.laptop.org" target="_blank">localization@lists.laptop.org</a>> >; Community Support Volunteers -- who help respond to help AT <a href="http://laptop.org/" rel="noreferrer" target="_blank">laptop.org</a> <<a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a> <mailto:<a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a>> >; Unleash Kids! <<a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a> <mailto:<a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a>> >; Jerry Vonau <<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a> <mailto:<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a>> ><br>
Subject: Re: [support-gang] [Localization] [UKids] Write Activity Updates<br>
<br>
<br>
<br>
Hi all,<br>
<br>
<br>
<br>
Thank you so much to those who have answered my email! I have tried some of your suggestions--I will update you with the information that I have now, and will continue to do so as I continue to try.<br>
<br>
<br>
<br>
Adam: you have correctly identified the SKU on the battery<br>
<br>
<br>
<br>
Gary/Adam: I tried switching the language into Arabic in the Control Panel when my laptop was using the 13.2.2 OS and it didn’t work, even when I folded the laptop down into the touch screen mode as one of you suggested. I have yet to try it with the 13.2.5 OS, but I will do that soon and keep you all posted.<br>
<br>
<br>
<br>
Gonzalo: Yes, the interface language was translated into Arabic on the main screen of the laptop, however when I opened up the Write Activity, the letters only appear in English. Funny enough, however, the buttons at the top of the screen moved from the left side to the right side, as Arabic is a language that is read from left to right. When I went through the list of possible fonts, Arabic never came up—only English ones, despite the fact that i had Arabic selected as the primary language of the laptop in the Control Panel.<br>
<br>
<br>
<br>
Additionally, I did some more research online and followed <a href="http://wiki.laptop.org/go/Customizing_NAND_images#Language" rel="noreferrer" target="_blank">http://wiki.laptop.org/go/Customizing_NAND_images#Language</a> which had another set of instructions on changing the language in the terminal that I had not previously tried, but it didn’t work either. It came up with an error message saying that “key=language not an available option.” I’ve never seen that error message before, so if any of you have experience with that and would like to shed light on the issue, please let me know.<br>
<br>
<br>
<br>
Thank you all so much for your help! I will continue to keep you all posted with my progress!<br>
<br>
<br>
<br>
Sarah<br>
<br>
<br>
<br>
On Jul 19, 2015, at 7:11 PM, Gonzalo Odiard <<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a> <mailto:<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>> > wrote:<br>
<br>
<br>
<br>
Adding to what Jerry said about the fonts, you need to know that<br>
<br>
recent versions of Write activity do not show all the fonts available<br>
<br>
in the system (There are many fonts installed by libraries<br>
<br>
that are not usable on Sugar)<br>
<br>
You can install the activity Fonts (<a href="http://activities.sugarlabs.org/en-US/sugar/addon/4669" rel="noreferrer" target="_blank">http://activities.sugarlabs.org/en-US/sugar/addon/4669</a>)<br>
<br>
to select what fonts will be available on Write (and Paint and FotoToon)<br>
<br>
That activity also show a preview of the fonts, but using a English text.<br>
<br>
<br>
<br>
Gonzalo<br>
<br>
<br>
<br></blockquote></div></div></div></div><div><br></div></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Unsung Heroes of OLPC, interviewed live @ <a href="http://unleashkids.org/" target="_blank">http://unleashkids.org</a> !<br>
--- <br>
You received this message because you are subscribed to the Google Groups "Unleash Kids" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:unleashkids+unsubscribe@googlegroups.com" target="_blank">unleashkids+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</font></span></blockquote></div><br></div></div></div></blockquote></div><br></div>