(For more information please refer to this link).
First of all you have to be a root to use 'yum' package manager, so follow these commands:
$ su
# yum update
# yum install fonts-arabic
....
# yum install scim scim-gtk
...
# yum install scim-m17n scim-tables
...
# yum install m17n-db-arabic.noarch
After doing this, you need now to activate scim at the start of Sugar (the interface of XO laptop), to do so you need to copy this file ~olpc/.xsession-example to ~olpc/.xsession and then configuring it to add some line of code as follow:
# cp ~olpc/.xsession-example ~olpc/.xsession
# vi ~olpc/.xsession
Then add the following lines to the file:
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export USE_XOPENIM=t
scim -d
Now you need to reboot you XO laptop, just type:
# rebootAfter booting, Open Browse Activity put the cursor on the text field then hit the HOT KEY for SCIM which is (CTRL+SPACE) a little pop-up window on the right bottom of the screen will show, just change the language to Arabic and start typing, Wohoo, it's writing Arabic characters.
There's one main Problem I am still facing typing in Arabic:
- There's some letters don't come in the correct format, for example if you typed "m" Arabic letter followed by "n" Arabic Letter, it won't attach them to each other, instead they will be like separated letters! (See Picture)
If you have problems in writing Arabic in OLPC, please send us a note we will try our best to help you.
Hi, just noticed this blog and I think that many people in the SugarLabs community will be happy to read it. Would you be interested in being aggregated by http://planet.sugarlabs.org ? If so, please send email to planetmaster@sugarlabs-nospam.org
ReplyDeleteHey,
ReplyDeleteYes, Sure. That will be great.
We have started new, and hopefully this blog will grows soon.
Thanks I will email you now.
This is also the way to configure Hebrew too.
ReplyDeleteTomeu, any idea why there isn't there a script/configuration option anywhere for it?