«Arabic keymaps»: الفرق بين المراجعتين

من ويكي عربآيز
اذهب إلى: تصفح، ابحث
 
ط
سطر 1: سطر 1:
 
 
== Arabic Keymaps on XFree86 ==
 
== Arabic Keymaps on XFree86 ==
   
سطر 5: سطر 4:
   
 
<pre><nowiki>
 
<pre><nowiki>
$ setxkbmap -symbols "us(pc101)+ar+group(ctrl_shift_toggle)"
+
$ setxkbmap -symbols "us(pc101)+ar+group(alt_shift_toggle)"
 
</nowiki></pre>
 
</nowiki></pre>
   
Now you can simply switch between the Arabic keyboard layout and the English one by pressing the Ctrl and Shift buttons. Or you can simply add this to your "/etc/X11/XF''''''86Config-4" file like so:
+
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/XF''''''86Config-4" file like so:
   
 
<pre><nowiki>
 
<pre><nowiki>
سطر 16: سطر 15:
 
Option "XkbRules" "xfree86"
 
Option "XkbRules" "xfree86"
 
Option "XkbModel" "pc101"
 
Option "XkbModel" "pc101"
Option "XkbLayout" "ar"
+
Option "XkbLayout" "us,ar"
Option "XkbOptions" "grp:ctrl_shift_toggle"
+
Option "XkbOptions" "grp:alt_shift_toggle"
 
EndSection
 
EndSection
 
</nowiki></pre>
 
</nowiki></pre>

نسخة 14:42، 8 أكتوبر 2006

Arabic Keymaps on XFree86

You will need XFree86 > 4.2 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/XF'86Config-4" 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