(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:
# 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:
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.