[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [developers] xkb keyboard layout vs. input methods im-chooser



I found a workaround using X composite keys, it might not be an optimum
solution but it does work with GTK/QT apps at least (but not with mlterm).

Add the following lines to "/usr/share/X11/locale/en_US.UTF-8/Compose":
<UFEFB> :       "لا" # LAM WITH ALEF
<UFEF7> :       "لأ" # LAM WITH ALEF WITH HAMZA ABOVE
<UFEF9> :       "لإ" # LAM WITH ALEF WITH HAMZA BELOW
<UFEF5> :       "لآ" # LAM WITH ALEF WITH MADDA ABOVE

Then edit "/usr/share/X11/xkb/symbols/ara" and look for the relevant
lines, replace VoidSymbol in your file with the corresponding code
point, so that it looks like:
...
key <AD05> { [Arabic_feh,  0x100FEF9] };
...
key <AC05> { [Arabic_lam,  0x100FEF7] };
...
key <AB05> { [0x100FEFB,   0x100FEF5] };

Then you will need to tell GTK to use XIM:
export GTK_IM_MODULE="xim"

You might need this with QT too (worked without this on my system):
export QT_IM_MODULE="xim"

Regards,
 Khaled

On Wed, May 14, 2008 at 10:59:25PM +0300, Muayyad AlSadi wrote:
> B and G are disabled in arabic keyboard layout
> in the new ubuntu and fedora
> 
> so does this also applies to input methods
> 
> have't any one involved with input methods and arabic
> 
> does they support لا
> _______________________________________________
> Developer mailing list
> Developer at arabeyes dot org
> http://lists.arabeyes.org/mailman/listinfo/developer
-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team

Attachment: signature.asc
Description: Digital signature