Xorg設定を使用してキーボードレイアウトを設定しようとしましたが、機能しません。

Xorg設定を使用してキーボードレイアウトを設定しようとしましたが、機能しません。

HP Pavilion g6キーボードのレイアウトを英語(アメリカ)とアラビア語(アッラー)に設定しようとしています。

Fedora 18を使用していますが、次のようになります。アーチスウィキそれでも。

これは私の90-keyboard-layout.confファイルです:

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

私のHP Pavilion g6キーボードが何に該当するのかpc105わからないので、この記事を書いています(見つかったが見つかりません)。XkbModel/usr/share/X11/xkb/rules/xorg

私も00-anaconda-keyboard.confこのファイルを持っています:

#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

これは私のものです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)" };
};

何が欠けていますか?これまで、レイアウトの切り替えはまったく機能しません。

ベストアンサー1

90-keyboard-layout.conf次のように編集してください。

Section "InputClass"
        Identifier  "keyboard"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver          "evdev"
        Option          "XkbModel"      "evdev"
        Option          "XkbLayout"     "us,ara"
        Option          "XkbVariant"    ",qwerty_digits"
        Option          "XkbOptions"    "grp:alt_shift_toggle"
EndSection

おすすめ記事