From nobody Tue Nov 26 14:57:32 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 4XyQff4RrLz5fZMC for ; Tue, 26 Nov 2024 14:57:46 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [80.241.59.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XyQfd5Q9pz4ZBx for ; Tue, 26 Nov 2024 14:57:45 +0000 (UTC) (envelope-from lme@FreeBSD.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 80.241.59.207 is neither permitted nor denied by domain of lme@FreeBSD.org) smtp.mailfrom=lme@FreeBSD.org; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none) Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4XyQfY48PJz9ssd for ; Tue, 26 Nov 2024 15:57:41 +0100 (CET) Content-Type: text/plain; charset=utf-8 Message-Id: <1732633036752.1687134307.2902732100@FreeBSD.org> From: Lars Engels To: freebsd-hackers@freebsd.org Subject: Re: First time with freebsd and weird keyboard issue Date: Tue, 26 Nov 2024 14:57:32 +0000 In-Reply-To: <20241126113912.60714f63@tuxette> References: <20241126113912.60714f63@tuxette> List-Id: Technical discussions relating to FreeBSD List-Post: Content-Transfer-Encoding: 7bit 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 X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[80.241.59.207:from]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:199118, ipnet:80.241.56.0/21, country:DE]; FREEFALL_USER(0.00)[lme]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_DKIM_NA(0.00)[]; MISSING_XM_UA(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4XyQfd5Q9pz4ZBx X-Spamd-Bar: --- Dominique Michel schrieb am Dienstag, 26. November 2024 11:39:12 (+01:00): > Hi, > > 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. > > First: > In /etc/rc.conf > keymap="ch-fr.acc.kbd" > > 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. > > Then I followed chapter 25 of the handbook and put in ~/.login_conf: > me:\ > :charset=UTF-8:\ > :lang=fr_ch.UTF-8: > > and ran cap_mkdb ~/.login_conf 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. Another run cap_mkdb /etc/login.conf should fix it.