From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +PlRDAi+cWWBWAEAauVa8A:P1 (envelope-from ) for ; Thu, 07 Dec 2023 13:43:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +PlRDAi+cWWBWAEAauVa8A (envelope-from ) for ; Thu, 07 Dec 2023 13:43:52 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ECE0B3D3CF for ; Thu, 7 Dec 2023 13:43:51 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SIGTbuDW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701953032; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=h2qml7K4GLIzNFEizwob4HGUJIrW53iJyeutG+y+nWY=; b=b364pSR2Du9xMze8Qz89CGA4fH3PPDVpYOvZQ5ZqJIo9umuVOksxkmTzZYcZ6UwPZzgA75 LuvjO4iiZpIJ4kq1QN894JfahWYEeP0AYgXWY2yCL+e0+PQ0ENJg890fLeZTZgRt60k3n2 zBWOvzVJad+4pCdM37t9VF+W73rnXtaKrIfeXSqpT/FCW198CL/t7Ei6hIx2sTsNgstulm x3FuHh+GW+w6W5pSmd3//vT+LEgFlNtCf6e+V1MVD4UqeDttUwABax9wZri4jZUmxq7etk D4cEVMdz6KKI6VekEZLxrAwW8UsDCq/T3Q+9tiAt8205WFktkk71PGojGan5bg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701953032; a=rsa-sha256; cv=none; b=fEM/oMpIgUbpmXfF8b/nmdwUx9wJZ+pudHyXurBmqbalUv/FHMRpUQ++hA+X/WmBx9hQrZ WGDUOMVOUYNc6NcUSU53oPDQuCdikMa3+vwRiHgId7Hz6BLnQzntUPzbTEl+fcnHhvPDR4 5WOaprDzWU1smXERz3rxDpq6k4nanzxCYltagrTx7Ayl7BDo/z+EL2R57mkNL8vf5QuJui 2TOcuLZR3AWjM3AVleXZTenZ8aq7eNIwlhS6ZeqrqHzr96bt4mCSn9D2wubNDIxRU5wL2F 8vm7/nifNeVw2XLgaA7LJCkZJ/RVqnPKyR3b26Lo3CY8jYshCGZKUMemEtFGWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SIGTbuDW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBDiv-0002t6-3X; Thu, 07 Dec 2023 07:43:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBDit-0002sm-4T for help-guix@gnu.org; Thu, 07 Dec 2023 07:43:23 -0500 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBDir-0008RQ-FI for help-guix@gnu.org; Thu, 07 Dec 2023 07:43:22 -0500 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50bfe99b6edso746672e87.1 for ; Thu, 07 Dec 2023 04:43:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701952999; x=1702557799; darn=gnu.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=h2qml7K4GLIzNFEizwob4HGUJIrW53iJyeutG+y+nWY=; b=SIGTbuDWGyRnC15Y11oHS/XDmmZWdFXn3lR6uGoQMTFvojmdZCxm5L9QYEH/WEzzBE FtD4xz4jcw+ZqZLsmtcI48ZjZJ/oUIQ1wApiTSMXlG28ntbOtLLbun5IU4SAiavJgZd7 t2o5YvSlyPidJVqzp9kTOqTMFLiFZRIDZjaFuZcYBBNE2OIVrgOAxlHyLlSODWXCOhM3 kIwG1e/gddr/fwxy5Ta4ZKzKIqaDezsT+y2TRzZTethGmF602neThaCO6TbQieirx10Z nLyd7P2FSCvMbKLaeE3eU1o8oeta0tr21NFShuBRrcy1Ocuy9MR+p//PULRZ4oycCyhO FlFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701952999; x=1702557799; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=h2qml7K4GLIzNFEizwob4HGUJIrW53iJyeutG+y+nWY=; b=DMARlyLjjMPrB6NMBw4QFCIsyetoJAXJ82LSI1bOe5JcSeccGXrqx1ZSNf24PrX6UH 9BwdT8n9T2AheXCeNj6ICwU7ND1DPjS+HzD/M3TwnaFEKtIpSU8tpBPch/zlbS1nQYKb QgByQXmDt982uvCAEVJa7zllpSkpFyeHgCAUUDxb9Y03qNdh3ZMCYizhpRD2jyKXiqvB gZSECb7SeCf0ML0RxaCULdlDanqmYcPiKr/YKeLQsmxULsrwG820+2oF0Rm6K5vrfgYQ qK2LS/vy9nS8SBUtut1szj0IJcdfNZiU3XrlMnPlvpo2F1WqqAH8glbvbwRSrnKn2VoL Fw0Q== X-Gm-Message-State: AOJu0Yz/5iDDSTPNd+lSysynNGnKREXOepzZFaUdi7PL9c+Z8uvvTPgT jRFOqxKU55kzorbV6pZK05m13sPF3THLwQ== X-Google-Smtp-Source: AGHT+IHzhfCAK7PuzjLPG2qPBjLoLbfQJZ+mTqhXZrfpG9gxF6LdtZIJ99b38D6eBci+VdRL/Gv2LA== X-Received: by 2002:a19:a40b:0:b0:50c:a39:ee20 with SMTP id q11-20020a19a40b000000b0050c0a39ee20mr1404333lfc.103.1701952998933; Thu, 07 Dec 2023 04:43:18 -0800 (PST) Received: from localhost ([128.39.248.79]) by smtp.gmail.com with ESMTPSA id b21-20020a056512305500b0050bfcae963esm164345lfb.54.2023.12.07.04.43.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 04:43:18 -0800 (PST) References: <871qbyl41o.fsf@yoga.mail-host-address-is-not-set> <87h6kudyf3.wl-hako@ultrarare.space> User-agent: mu4e 1.10.8; emacs 30.0.50 From: Lars Rustand To: help-guix@gnu.org Cc: Efraim Flashner , Hilton Chain Subject: Re: Keyboard layout options not working Date: Thu, 07 Dec 2023 13:28:02 +0100 In-reply-to: <87h6kudyf3.wl-hako@ultrarare.space> Message-ID: <8734wefaji.fsf@yoga.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=rustand.lars@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -6.49 X-Spam-Score: -6.49 X-Migadu-Queue-Id: ECE0B3D3CF X-TUID: fqBCG7SBw4gG Hilton Chain writes: > In (gnu system keyboard), keyboard-layout is defined as: > > (keyboard-layout name (variant) (#:model) (#:options)) > > > So the following should be used instead: > > (keyboard-layout "us" "no" #:options '("grp:switch")) I tried the above, but I get this following errror: -8<---------------cut here---------------start------------->8--- error: (keyboard-layout "us" "no" #:options (quote ("grp:switch"))): invalid field specifier -8<---------------cut here---------------end--------------->8--- > And for X, xorg-configuration accepts a record and sets option > XkbLayout to the name field of that record and XkbVariant to variant (only when > it's present). Since XkbLayout recognizes the comma syntax and variant is not > set, the result is valid. Well, this comma syntax is precisely what I am trying to use. Note that the "us,no" in my config refers to the list of US layout and NO layout, not a NO variant of the US layout (I don't think there is such a variant). The expected result of my keyboard-layout config is that I have US layout by default, and when I hold down the right alt key I get the NO layout. A similar configuration is shown in the examples under the Keyboard Layout section in the Guix manual. -8<---------------cut here---------------start------------->8--- ;; Arabic layout with "Alt-Shift" to switch to US layout. (keyboard-layout "ar,us" #:options '("grp:alt_shift_toggle")) -8<---------------cut here---------------end--------------->8---