Hello, I'm trying to set the keyboard-layout options in my system
config. I have set the following:

-8<---------------cut here---------------start------------->8---
(keyboard-layout (keyboard-layout "us,no" #:options '("grp:switch")))
-8<---------------cut here---------------end--------------->8---

The above seems to have no effect. However, the same option works fine
when used with setxkbmap like this:

-8<---------------cut here---------------start------------->8---
setxkbmap us,no -option 'grp:switch'
-8<---------------cut here---------------end--------------->8---

It also works fine if set in `/etc/X11/xorg.conf.d/00-keyboard.conf`
like this:

-8<---------------cut here---------------start------------->8---
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us,no"
        Option "XkbOptions" "grp:switch"
EndSection
-8<---------------cut here---------------end--------------->8---

Reply via email to