From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SGzOBBgqgGd3RgAA62LTzQ:P1 (envelope-from ) for ; Thu, 09 Jan 2025 19:57:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SGzOBBgqgGd3RgAA62LTzQ (envelope-from ) for ; Thu, 09 Jan 2025 20:57:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riabenko.com header.s=selector header.b="Q LGCt2j"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736452631; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=20eumPxd3dzMezuWEJy5iYfPx1VXC5dE2abRLxumU3w=; b=qvr/Mv3X88FL2WoIb/B+IuQv9M/sfj4reoA16NiIxjyvP8Mbk8o1M344uy9NFwv4nk0scJ shMOshxMSI7NTGMGlR5ZfiO46TgvLW/awQHkKCCZK9vioTunXH6as8VYvV9xO3YSn8/Bai 831xNq76Mt1rMrOJpvN5N/NkgmoUHJ1L2AF3Ek7ztIWJcw22Qy0vEQWbVRIb4dnCZfUgnj /AmsmEilaBsE69guBysh4UFS6WJQ+RbFDT8xZVbvc/Y/MGLQK2ua7ta4kjU9IEDyTBev+e tzfwC7/Iw3x69RiY96y6h8jGXE9k2GY8fHGldFs9niWjUTKVlEjciWgvIwsWIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riabenko.com header.s=selector header.b="Q LGCt2j"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736452631; a=rsa-sha256; cv=none; b=GLm9xkzfGfSBHt6TYGAFZZ7DILdAahUac+ZYELygKg/2vwBs4D2DZ1cZ41nhhdYgDYyD8L B1vA/63L/McEZJPYd9Lv5Wk0sQQvF1NCzaNgGke4MUSJJcuiSJG0VkifobTc9ve8eVVLhh 28cJWzFJ29Z2j977xNolyYNYMaFG5BRQcBHdaBQAJT/vP7HFn6rHzZULp8vhb4gPmd7lHB kmB9Kx3UfXGC9OnvJoM0LOe3UeChN7IcDmnX5ZuF19GFiRCBIuY2v4Ku6O83DlnYBSAG77 KbyxktqEJTY16hPtVxAee7Wy+xzl2Qc/moByqC/XCzxhoPq6zOrkql7zSlpgRA== 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 CDF7223230 for ; Thu, 09 Jan 2025 20:57:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVydy-0003nu-Hd; Thu, 09 Jan 2025 14:56:38 -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 1tVyds-0003my-2A for help-guix@gnu.org; Thu, 09 Jan 2025 14:56:32 -0500 Received: from lab.riabenko.com ([185.143.146.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVydq-0007Xj-AP for help-guix@gnu.org; Thu, 09 Jan 2025 14:56:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=riabenko.com; s=selector; h=Content-Transfer-Encoding:Content-Type: Mime-Version:References:In-Reply-To:Message-Id:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=20eumPxd3dzMezuWEJy5iYfPx1VXC5dE2abRLxumU3w=; b=Q LGCt2jWqM+3Ydydy5lNsfCL/3I0/ytYQQ6jKzDiZGNpjiszhut7PtcNGEqQWmd0AH+bTvW0LiM/a0 p6NDjDE8tkoqJE8qHqjOURKAHOdF+keihzgsFyklkXYGeupZdJ0AqJ3jcgYxU8+uhScdwOhxZGciu dbE8NPJrg5i6VUy0yft7aJRvpIsfnee2Qiuq0p4lV+0e4IedbZonpqa3OcFUKmZmvph+2kH+oYvut N1J0A3d2fychZhw5KqfVRJUXwmACJ4G4fXnJAwmSm7zwIhAyMhO0OxeWXx+R2xLAA2J18In2INw53 XBx1eNW91MTTEnwBbQNAqotKeCi/B9UYA==; Received: from librecmc.lan ([192.168.10.1] helo=localhost) by lab.riabenko.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tVydl-0000000063m-1W0b; Thu, 09 Jan 2025 21:56:25 +0200 Date: Thu, 9 Jan 2025 21:56:01 +0200 To: "pelzflorian (Florian Pelz)" Cc: help-guix@gnu.org Subject: Re: switching layout in tty Message-Id: <20250109215601.9b3f3b1d65332496145edcb2@riabenko.com> In-Reply-To: <87msg2e641.fsf@pelzflorian.de> References: <20250104221438.90c0a3955cf140d3fbb640a7@riabenko.com> <87msg2e641.fsf@pelzflorian.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.143.146.30; envelope-from=roman@riabenko.com; helo=lab.riabenko.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, NICE_REPLY_A=-0.087, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Reply-to: Roman Riabenko From: Roman Riabenko via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.97 X-Spam-Score: -2.97 X-Migadu-Queue-Id: CDF7223230 X-TUID: PNd40Keastax Hello Florian On Tue, 07 Jan 2025 21:11:58 +0100 "pelzflorian (Florian Pelz)" wrote: > (keyboard-layout (keyboard-layout "us,ua" > #:options '("grp:alt_shift_toggle"))) > > does work for me, although grp:shifts_toggle does not. Possibly > grp:shifts_toggle would only work on some keyboards? > > If your stuck console state is a real bug and not due to xoff/xon flow > control (i.e. Ctrl-S was pressed), then this is a bug with some software > used by Guix, maybe the Linux kernel, or with console-setup. Though I > cannot reproduce it with grp:alt_shift_toggle. Pressing both Shifts with "grp:shifts_toggle" option produces no effect for me. Both "grp:alt_shift_toggle" (Alt+Shift) and "grp:ctrl_shift_toggle" (Ctrl+Shift) options work, but when the layout is switched, something else happens often, such as no characters appear or the text is replaced with different characters and it becomes difficult or impossible to enter shortcuts. "grp:lwin_toggle" option seems to switch layouts without any side effects, so I will use it for now. However, I do not understand what's wrong with these Shift shortcuts. I tried a few keyboards from different manufacturers and the behavior is the same. > GNOME has its own settings that are configurable inside the GNOME > Keyboard Settings. I could not find how to change this shortcut in GNOME Settings application. But I finally changed it with the below commands. This confirms that it is an entirely different setting. I still do not know why there seem to be two Latin layouts, so that I have to press the shortcut twice. $ guix shell glib:bin [env]$ gsettings set org.gnome.desktop.input-sources xkb-options "['grp:shifts_toggle']" The following turns the shortcut off completely in GNOME. [env]$ gsettings set org.gnome.desktop.input-sources xkb-options "['']" Roman