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

من ويكي عربآيز
اذهب إلى: تصفح، ابحث
(Arabic Keymaps on XFree86 / X.org)
 
(3 مراجعات متوسطة بواسطة 3 مستخدمين غير معروضة)
سطر 1: سطر 1:
<div class="english">
 
 
== Arabic Keymaps on XFree86 / X.org ==
 
== Arabic Keymaps on XFree86 / X.org ==
   
سطر 8: سطر 7:
 
</nowiki></pre>
 
</nowiki></pre>
   
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/XF86Config-4" (or /etc/X11/xorg.conf") file like so:
+
Now you can simply switch between the [https://clavier-arabe-pro.com/ 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:
   
 
<pre><nowiki>
 
<pre><nowiki>
سطر 20: سطر 19:
 
EndSection
 
EndSection
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
 
 
Hi
 
 
I tried the above settings but still can't switch ara/fr !
 
 
 
here is what I find in my xorg.conf
 
 
 
 
Section "InputDevice"
 
Identifier "Keyboard[0]"
 
Driver "kbd"
 
Option "Protocol" "Standard"
 
Option "XkbLayout" "fr"
 
Option "XkbModel" "pc102"
 
Option "XkbRules" "xfree86"
 
EndSection
 
 
 
so waht am I doing wrong ?
 
 
 
 
----
 
</div>
 

المراجعة الحالية بتاريخ 15:35، 25 أغسطس 2021

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