How to type Arabic in Ubuntu 8.04
The first step that if you want to type Arabic in Ubuntu is you must have SCIM in your Ubuntu machine.
Scim by default is supported by Ubuntu, so after you installed your Ubuntu in your machine you’ll get Scim already installed. The next thing is you have to install the input languange.
1. To install it you can do the following things (i grabbed this from ichsan’s blog):
Install language for Japanese, Korean, Arabic and others.
apt-get install scim-anthy, scim-hangul, scim-tables-additional
2. Create an 644 permission file: /etc/X11/Xsession.d/75custom-scim_init which contains
3. Run scim -d
5. Restart X (Ctrl+Alt+Backspace)
Actually you just need scim-tables-additional if you want to type in arabic, but it is fine in case in the future you want to type japanese or korean character.
The next step after you have installed the language is you have to run the arabic (egypt) input mode in scim. You can simply press Ctrl+space to activate it, and press Ctrl+space once more if you want to deactivate it (back to normal). You can see your scim input status in top panel, if you see ع, then you can start to type in arabic, you can test it with gedit, though you have to change font scale to the bigger one, because the default gedit font scale (monospace 10) not quite big enough to make your arabic letter to clearly seen.
Here is the table that shows you what key that you must press and the arabic letter that will come out, note that if the latin letter is written as capital letter, then you must type in capital letter form also, for example A then you must type it shift+a. This keys combination does work if you use US Keyboard layout, because i just only have that kind of keyboard, i do not know if this keys combination also work in other keyboard layout.
I accidentally found this combination keys after i saw this table, then i manage to found all the ‘hidden’ letter, :p
Arabic letter table
|arabic letter||keys combination|
Other arabic symbol
For arabic numeral just type the keys that coresponding its values, for example 1 for ١, 2 for ٢, 0 for ٠, and so on.
if you want to type this letter لا lam+alif then type l+A.
- the word شكرن is come out if you typed shkrn, or if you want the word with vowel like this شُكْرَنْ you must typed shuk/’ran/’
- the word محبّة is come out if you typed mh.bxh’, or if with vowel like مَحَبَّة you must typed mah.abxah’
So, الحمدلله we can type arabic in ubuntu now.