unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Lars Rustand <rustand.lars@gmail.com>
To: help-guix@gnu.org
Subject: Keyboard layout options not working
Date: Thu, 07 Dec 2023 10:48:11 +0100	[thread overview]
Message-ID: <871qbyl41o.fsf@yoga.mail-host-address-is-not-set> (raw)

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	other threads:[~2023-12-07 10:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07  9:48 Lars Rustand [this message]
2023-12-07 10:28 ` Keyboard layout options not working Efraim Flashner
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=871qbyl41o.fsf@yoga.mail-host-address-is-not-set \
    --to=rustand.lars@gmail.com \
    --cc=help-guix@gnu.org \
    /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).