Comment 42 for bug 62587

Revision history for this message
In , James H. Cloos Jr. (cloos-jhcloos) wrote :

> 6294 <UFEFB> : "لا" # ARABIC LIGATURE LAM WITH ALEF
> 6295 <UFEF7> : "لأ" # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE
> 6296 <UFEF9> : "لإ" # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW
> 6297 <UFEF5> : "لآ" # ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE

First, in x11proto/keysymdef.h (typically installed as
/usr/include/X11/keysymdef.h) you will find the formula for converting
between a UXXXX keysym and its integer value: 0x01000000 + the hex value
from the sym.

As such, UFEFB is 0x0100FEFB, etc.

> Which Arabic layout/variant shall I activate,

A grep through the xkeyboard-config repo shows that nothing there uses them.

However, a grep though the output of »git log -p -M -C symbols/ara«
shows that prior to commit b772edc289a844539ee096b2bb2a37bc74e1ef06
they were at:

 key <AD05> { [ Arabic_feh, 0x100fef9 ] };
 key <AC05> { [ Arabic_lam, 0x100fef7 ] };
 key <AB05> { [ 0x100fefb, 0x100fef5 ] };

> what keys I should press and

if your keyboard has US labels and you select the ara layout of an
old-enough version of xkeyboard-config, then:

 UFEF9 would be on SHIFT T
 UFEF7 would be on SHIFT G
 UFEFB would be on B
 UFEF5 would be on SHIFT B

If you do not have US labels (printed on the physical keyboard),
you can see from the key names above that each is the fifth alphabetic
key from the left in the fourth through second rows. (The spacebar row
is of course the first row.)

> what I am expected to get?

When pressing a key which is mapped to eg UFEFB you should get a string of the
two characters »ل« U+0644 ARABIC LETTER LAM and »ا« U+0627 ARABIC LETTER ALEF.

The other three also give two character strings, but will U+0623, U+0625
or U+0622 instead of U+0627.