I'm trying to set my HP Pavilion g6 keyboard layout to English(us) and Arabic(ara).
I'm using Fedora 18, but followed Arch Wiki anyways.
Here's my 90-keyboard-layout.conf
file :
Section "InputClass"
Identifier "keyboard"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ara(qwerty_digits)"
Option "XkbVariant" "qwerty_digits,qwerty_digits"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
I've entered pc105
because I have no idea what's the corresponding XkbModel
for my HP Pavilion g6 keyboard (looked in /usr/share/X11/xkb/rules/xorg
but didn't find it).
I have also this file 00-anaconda-keyboard.conf
which contains :
#This file was generated by the Anaconda installer
Section "InputClass"
Identifier "keyboard"
MatchIsKeyboard "on"
Option "XkbOptions" "terminate:ctrl_alt_bksp,"
EndSection
Section "ServerFlags"
Option "DontZap" "false"
EndSection
Here's my setxkbmap -print
:
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us(qwerty_digits)+ara(qwerty_digits)(qwerty_digits):2+inet(evdev)+group(alt_shift_toggle)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc104)" };
};
What else is missing? Layout switching is not working at all so far.
Best Answer
Edit your
90-keyboard-layout.conf
like this: