From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: How to specify custom remappings with keyboard-layout? Date: Mon, 6 Apr 2020 03:05:24 +0200 Message-ID: <20200406010524.ao2hcdoczejyaamc@pelzflorian.localdomain> References: <20200405221822.opk7w7f6uxpdfjxd@gravity> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48426) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLGCh-00046O-5U for help-guix@gnu.org; Sun, 05 Apr 2020 21:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLGCg-00080E-3o for help-guix@gnu.org; Sun, 05 Apr 2020 21:05:31 -0400 Received: from pelzflorian.de ([5.45.111.108]:38526 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 1jLGCf-0007yA-LA for help-guix@gnu.org; Sun, 05 Apr 2020 21:05:30 -0400 Content-Disposition: inline In-Reply-To: <20200405221822.opk7w7f6uxpdfjxd@gravity> 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: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= Cc: help-guix@gnu.org On Mon, Apr 06, 2020 at 12:18:22AM +0200, Jakub K=C4=85dzio=C5=82ka wrote= : > xmodmap -e 'keycode 62=3D' >=20 > and disable it, but I need to make this apply in GDM too. I assume I'd > have to specify that in the keyboard-layout record, but both the > documentation and the code aren't too clear on how I'd go about doing > that. Guix writes the keyboard layout in the InputClass section of xorg.conf. It seems what you need is more like xkbcomp: https://wiki.archlinux.org/index.php/X_keyboard_extension#Using_keymap You could probably use an .xinitrc file like Arch or you could patch xorg-server to use your xkbcomp map by default. Regards, Florian