From nobody Tue Dec 3 09:20:26 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y2ZrT138bz5g8Wh for ; Tue, 03 Dec 2024 09:20:41 +0000 (UTC) (envelope-from dominique.c.michel@gmail.com) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2ZrS3qhLz4Xwg for ; Tue, 3 Dec 2024 09:20:40 +0000 (UTC) (envelope-from dominique.c.michel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=KnjGb+ga; spf=pass (mx1.freebsd.org: domain of dominique.c.michel@gmail.com designates 2a00:1450:4864:20::636 as permitted sender) smtp.mailfrom=dominique.c.michel@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a9ec267b879so839491366b.2 for ; Tue, 03 Dec 2024 01:20:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733217637; x=1733822437; darn=freebsd.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=0btAEEQHqYVGVpqVF+S/NbEBdVRgkyt4CWbCkGffSAM=; b=KnjGb+ga97OtUthRKChYFk+cLfqjEQWzw07f7QhstJLgDWvuCdD7fWIxkvIQ2U8ZRz +U/BHFjhOW/cjpzvWFnPd2CM+S6H9zuvGv27kVg9BZGvqOVQT1uhTrm3/4ZAunTAB2tE rMhiRg4RgEOHmMiXVTn8ZCSGXH7xPPnPoo7u9ISqRnkwPlyGn5z2zWEmc8NGIbguBzoD 2ilL3nE1W284kBIkM1Z7HxjoiK4eSdCDNV6B6w9Ga87yrXBXFTmD6R29GuqHeYFDpiMx g/9o6DNBQeIjdHjYxf/qWo79OWYL9hysc5zO3d1tMshtILZxgp7zcqnFz1LwvX8l8Mjq 4H7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733217637; x=1733822437; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0btAEEQHqYVGVpqVF+S/NbEBdVRgkyt4CWbCkGffSAM=; b=TinRvVjMp3hPAhVWllLhEyX79F5sleSLoP0NxMsUvRZkK7C1RbtGuISzos3wLvh/wv 5uvidWWPWqxzxxTSlm6Y30hDBfW7fK2IItgCzqs0TqoL1mZyOxYKU/E7x50rX78eQr0k UxYj3r/Tsdm6RSlY/Ujdd5xKH0uJ5yMWoWugp0VqjM3lDKPZSy/51e8iVLEdiuV+h10D xfCnf93omtCC4FzdyLUcLUNnwDWVMFZo6E3kKMFLCvewC4xGWf1IzV29PJX+W0o683XM EArALZLt9wm1AeKgEJjeK7UVWGBWPgpvaMWccpTdpxbg22aXICDBc6egkRhPrsB7Cm17 C0Bw== X-Gm-Message-State: AOJu0Yx+OUeH0T5SjXuNOr6v+wJA1tkc9mwruSh3Ps+cxPFwGQNZ9reU Ot2Jn0xI7RpBagG8mYkJxMtv8oy2SQ9VBzs7ZkOAS00en2hpaKeSEHFzTsiw X-Gm-Gg: ASbGncuIVnnwynXLUy0A2jIc1m5uvTkcgk6Xd8uDsak6voe0qgo8hYvUv1WTtj8VLfQ vzSm56cEsmV1gZnjIjir4Xod55N8n0TwMMUAQgVztDEwIzLiYbjb+5ragd3nWhHzCDThk3r5JCi NJZdp5K6xsb0qoHaMIfzHEC8vcsjE6GcJCBDwB0FfT/Xz2Mc11CtckHwpug2Tzyj+qadrvLU8lA js9smfkr4HVCpCABOIqFZMYZOrntkKt/pkRbslarBW1cHNlJrdx28L3pP3PLRFby4FHhAY+nIv6 z78+yd5IBMLD32RVhQ== X-Google-Smtp-Source: AGHT+IHg4nv87lqrBcCvFmEIfJZuinPee96eM9l2HJ1LCXuCDfWYe1vL2e0iEY7GlAuZLciJpTH+Gg== X-Received: by 2002:a17:907:7743:b0:aa5:f39a:ab99 with SMTP id a640c23a62f3a-aa5f7d4ecadmr113927566b.14.1733217637210; Tue, 03 Dec 2024 01:20:37 -0800 (PST) Received: from tuxette (mob-194-230-158-75.cgn.sunrise.net. [194.230.158.75]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa5996c19efsm589375866b.33.2024.12.03.01.20.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 01:20:37 -0800 (PST) Date: Tue, 3 Dec 2024 10:20:26 +0100 From: Dominique Michel To: freebsd-hackers@freebsd.org Subject: Re: First time with freebsd and weird keyboard issue Message-ID: <20241203100237.5623fcf0@tuxette> In-Reply-To: <1732633036752.1687134307.2902732100@FreeBSD.org> References: <20241126113912.60714f63@tuxette> <1732633036752.1687134307.2902732100@FreeBSD.org> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-pc-linux-gnu) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.35 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.85)[-0.853]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TAGGED_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::636:from] X-Rspamd-Queue-Id: 4Y2ZrS3qhLz4Xwg X-Spamd-Bar: --- Le Tue, 26 Nov 2024 14:57:32 +0000, Lars Engels a =C3=A9crit : > Dominique Michel schrieb am Dienstag, 26. November 2024 11:39:12 > (+01:00): >=20 > > Hi, > >=20 > > I am the main fvwm-crystal maintainer and I am working on adding > > freebsd support to it. To do that, I installed the last freebsd > > version and I saw a double issue with the keyboard. > >=20 > > First: > > In /etc/rc.conf > > keymap=3D"ch-fr.acc.kbd" > >=20 > > In order to understand how to reproduce these issues, I do 2 test > > user accounts with different shells, sh and bash. With both of > > them, after login, the keyboard is working fine with the ttys. > >=20 > > Then I followed chapter 25 of the handbook and put in ~/.login_conf: > > me:\ > > :charset=3DUTF-8:\ > > :lang=3Dfr_ch.UTF-8: > >=20 > > and ran cap_mkdb ~/.login_conf =20 >=20 > You only need to run cap_mkdb /etc/login.conf. Your ~/.login_conf is > read automatically upon login. By running cap_mkdb with your own > login config you probably messed up your environment. I followed the handbook: 25.2.1.1. Login Classes Method https://docs.freebsd.org/en/books/handbook/l10n/#login-class "i Note:=09 For an end user, the cap_mkdb command will need to be run on their ~/.login_conf for any changes to take effect." >=20 > Another run cap_mkdb /etc/login.conf should fix it. >=20 Anyway, I ran that command 1 more time as root and commented out the 'me: ....' stuff in ~/.login_conf. It works fine at the tty, but after startx, that change nothing. I found a workaround, it is to install lightdm and start fvwn-crystal with it. And finally, I found a fix. It is to restore the 'me:...' stuff and add in .xinitrc: setxkbmap -layout 'ch(fr)' -model pc105 -option terminate:ctrl_alt_bksp,keypad:pointerkeys Note the single quotes around the layout and the (). Dominique