how to enable a new keyboard layout
Hi,
On Wheezy, I am trying to enable a new keyboard layout.
Normally, I did it by:
- creating a /usr/share/X11/xorg.conf.d/01-keyboard-layout.conf
file with a following contents:
Section "InputClass"
Identifier "keyboard-layout"
MatchIsKeyboard "on"
Option "XkbLayout" "us, sk"
Option "XkbOptions" "grp:alts_toggle"
EndSection
When I do that and restart Xorg, in /var/log/Xorg.0.log I see:
[ 961.970] (II) evdev: ACPI Virtual Keyboard Device: Configuring as
keyboard
[ 961.970] (**) Option "config_info"
"udev:/sys/devices/virtual/input/input10/event10"
[ 961.970] (**) Option "xkb_rules" "evdev"
[ 961.970] (**) Option "xkb_model" "pc105"
[ 961.970] (**) Option "xkb_layout" "us, sk"
[ 961.970] (**) Option "xkb_variant" ",qwerty"
[ 961.970] (**) Option "xkb_options" "grp:alts_toggle"
but I can't switch keyboard layouts (by pressing both Alt-keys).
I have tried different grp;* options, but without effect.
I would be grateful for any advice how to proceed: how to configure Xorg
so that I can switch keyboard layouts with some convenient
keyboard-shortcut. Thanks in advance.
(When I try this:
setxkbmap sk qwerty
everything seems to work fine.
)
Reply to: