Originally Posted by
john1982
Hi,
there seems to be a lot of expertise here in this thread about all things typing, so I hope I'm right in placing this question here.
I'm studying Arabistics. People who have Arabic as their mother tongue seem to be using "1, 2, 3", etc. for numbers, but in Modern High Arabic, which is what is of scholarly interest, the number symbols initially imported from Hindi are used: (٠, ١, ٢, ٣, ٤, ٥, ٦, ٧, ٨, ٩ - that is 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 if read left-to-right) - now, since these are unlikely to be of use to the average writer, the Arabic keyboard map creates the "normal" number symbols.
How, if at all possible, could I have the normal Arabic keyboard map, but with the above mentioned symbols on the number keys instead?
The Arabic layout is at /usr/share/X11/xkb/symbols/ara
The first layout (at the start) has the text
key <AE01> { [ 1, exclam ] };
key <AE02> { [ 2, at ] };
key <AE03> { [ 3, numbersign ] };
key <AE04> { [ 4, dollar ] };
key <AE05> { [ 5, percent ] };
key <AE06> { [ 6, asciicircum ] };
key <AE07> { [ 7, ampersand ] };
key <AE08> { [ 8, asterisk ] };
key <AE09> { [ 9, parenright ] };
key <AE10> { [ 0, parenleft ] };
What you need to do is replace '1', '2'.. with the Arabic numbers.
Open Character Map (in Accessories) and find the Arabic Unicode block. At the end you get the Arabic numbers, so ۹ is U06F9, etc (see the properties of the character).
Therefore, open the file with
gksudo gucharmap /usr/share/X11/xkb/symbols/ara
and replace the numbers mentioned above with the correct corresponding Arabic-Indian characters. Here is the example for '9':
key <AE09> { [ 9, parenright ] };
becomes
key <AE09> { [ U06F9, parenright ] };
Save, logout, login again and you are done .
It's possible to add both 012345.. and arabic-indian numbers. You can read other layouts for hints on how to do that.
Bookmarks