Arabic keymaps

From ويكي عربآيز
Jump to: navigation, search

Arabic Keymaps on XFree86 / X.org

You will need XFree86 > 4.2 (or any X.org version) in order for proper built-in Arabic keymap support to exist. You can simply switch your keyboard keymap by issuing the command (at any x terminal):

$ setxkbmap -symbols "us(pc101)+ar+group(alt_shift_toggle)"

Now you can simply switch between the Arabic keyboard layout and the English one by pressing the Alt and Shift buttons. Or you can simply add this to your "/etc/X11/xorg.conf" file like so:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel"  "pc101"
        Option      "XkbLayout" "us,ar"
        Option      "XkbOptions"        "grp:alt_shift_toggle"
EndSection