On Thu, Dec 07, 2023 at 10:48:11AM +0100, Lars Rustand wrote: > 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--- I wouldn't mind getting the answer to this too. I have my keyboard config set in my os-config and also in my sway-config. IIRC the keyboard-layout works really well in a TTY but not always as well on the desktop. -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted