From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: keyboard layout Date: Tue, 7 Apr 2020 12:54:17 +0200 Message-ID: <20200407105417.mg36brc3xjurfp5b@pelzflorian.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46982) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLls7-0006ag-1y for help-guix@gnu.org; Tue, 07 Apr 2020 06:54:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLls6-0005j4-0j for help-guix@gnu.org; Tue, 07 Apr 2020 06:54:22 -0400 Received: from pelzflorian.de ([5.45.111.108]:41102 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLls5-0005iT-Hl for help-guix@gnu.org; Tue, 07 Apr 2020 06:54:21 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Adam Kandur Cc: Help Guix On Thu, Mar 19, 2020 at 01:52:28PM +0100, Adam Kandur via wrote: > > Hi guixers! i have a question. Sometimes i need to switch keyboard layout for writing messages. Currently i'm using this command > setxkbmap -layout 'us,ru' -option 'grp:alt_shift_toggle,grp_led:scroll' > > How i can do something similar with config.scm definition? > Ludo fixed support for such layouts last week with commit 2729cb406d9f3e9eb22cc660f887138134edb3a8. He added an example to the manual: ;; Arabic layout with "Alt-Shift" to switch to US layout. (keyboard-layout "ar,us" #:options '("grp:alt_shift_toggle")) Regards, Florian