From: Efraim Flashner <efraim@flashner.co.il>
To: Lars Rustand <rustand.lars@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Keyboard layout options not working
Date: Thu, 7 Dec 2023 12:28:53 +0200 [thread overview]
Message-ID: <ZXGeZcClpbvijEp-@3900XT> (raw)
In-Reply-To: <871qbyl41o.fsf@yoga.mail-host-address-is-not-set>
[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-12-07 10:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 9:48 Keyboard layout options not working Lars Rustand
2023-12-07 10:28 ` Efraim Flashner [this message]
2023-12-07 11:50 ` Hilton Chain
2023-12-07 12:28 ` Lars Rustand
2023-12-07 12:53 ` Lars Rustand
2023-12-07 13:46 ` Hilton Chain
2023-12-07 20:17 ` Lars Rustand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZXGeZcClpbvijEp-@3900XT \
--to=efraim@flashner.co.il \
--cc=help-guix@gnu.org \
--cc=rustand.lars@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).