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

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



good job,
but I did not get it khalid
is it for xkb or IM

after editing those files do I have to restart x, run some
compile/cache command or what ever


On Mon, Jun 9, 2008 at 8:47 PM, Khaled Hosny <khaledhosny at eglug dot org> wrote:
> It does work with mlterm too, the problem was in my configuration.
> You will need to add 'GTK_IM_MODULE="xim"' to your ~/.xsessionrc or the
> system wide file.
>
> On Mon, Jun 09, 2008 at 03:05:43PM +0300, Khaled Hosny wrote:
>> 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
>
> --
>  Khaled Hosny
>  Arabic localizer and member of Arabeyes.org team
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFITWyvRoqITGOuyPIRAlnlAJ999tfc7MrZPjSvcOfFXzYGIcNJWgCdErOK
> m2VnrLkbZDZbt0raygfPd2Y=
> =bZS8
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Developer mailing list
> Developer at arabeyes dot org
> http://lists.arabeyes.org/mailman/listinfo/developer
>