help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyboard layout options not working


From: Efraim Flashner
Subject: Re: Keyboard layout options not working
Date: Thu, 7 Dec 2023 12:28:53 +0200

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   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]