On Thu, Jun 12, 2008 at 02:44:44AM +0300, Muayyad AlSadi wrote: > good job, > but I did not get it khalid > is it for xkb or IM To be honest, I'm not sure how this "composite keys" feature work, google didn't help. I discovered it by reading this post on gnome-i18n list http://mail.gnome.org/archives/gnome-i18n/2008-June/msg00030.html. > > after editing those files do I have to restart x, run some > compile/cache command or what ever I did nothing other than restarting X. If you are using GTK+ app, make sure you are using X input method (select it from the right click menu, or set the GTK_IM_MODULE="xim" environment variable. Regards, Khaled > > > 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 > > > _______________________________________________ > 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