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 From nobody Tue Dec 3 10:07:39 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 4Y2btx2NnBz5gCjS for ; Tue, 03 Dec 2024 10:07:53 +0000 (UTC) (envelope-from vadimnuclight@gmail.com) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 4Y2btw2F7Gz4f0y for ; Tue, 3 Dec 2024 10:07:52 +0000 (UTC) (envelope-from vadimnuclight@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=MBfHF2ZX; spf=pass (mx1.freebsd.org: domain of vadimnuclight@gmail.com designates 2a00:1450:4864:20::12f as permitted sender) smtp.mailfrom=vadimnuclight@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-53df67d6659so8246291e87.3 for ; Tue, 03 Dec 2024 02:07:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733220470; x=1733825270; darn=freebsd.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=gx+ffmbA3XpzJxk93NincnB0gFzXHMaxWrXW5jjabOk=; b=MBfHF2ZX1+ocwKimPPL230p1Op/qNkwNUgNO8n/MwyxXFkkr72QeNSobWcx0Sst3NR 1EQylgup2O6HVge790AgU8yPFuLPnhmCzc7aiSK3e+zOusH55x2v7T4hxVTyFS60rMsq i7MbL2h/5qs9ciZomcGXnkAtFfr9+eUwY2CJpSDIcBQ/AcV0EayvVM+btBUh4WAGRmOB sGEv+xVQUYdYCKZu5OJ0r7dsuCf/MZUL48CrxVk7mOsQCiwkxysBbrfSvwp4KUayp21E ByIHg9vdZJLn08LL55WxsMNDqETXqmOgKz9VnqknkJ1wV+3+ymjePv/tMN6TvTOw9G8y Qp8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733220470; x=1733825270; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gx+ffmbA3XpzJxk93NincnB0gFzXHMaxWrXW5jjabOk=; b=QSRkk98/vWcxcj7fFKWnVm0lLaFq8VBYdGWTq/US0AUccKBzftgXjvL+0EwTu7TWyp jwch0OGFcctbzsuQfgsBEax0j//ZG+2xymrMoauK0AzkhDHOErPyIGw+lCMBkc8qX2vx qiTKjt1hFQmiipPRlkvtVfznUx5qAZNYvahJsoggyHd7Bea6F5mITc0qp8i/5HRkeX7l lJG03900ZWJ50xQXuPl0LXJeLJ1dmibQjrJJdFNNJApBXYG+DEIVYtgaEWIeUU6Ke2uh e9Z6JhBMvqlfE8wK60A3rjyvos1zXuG2zhIxaYwz8awDtEBQ4CKlSKbQuxD3noBk+vvj IJCg== X-Gm-Message-State: AOJu0YzsJ+OYa24Ykwfi3P0x6UDXreDx/4oruzjn15usCusC0dwBWitZ vBz3RSWbXMcPveC/qmzIa7nciJcwThubFAqrDAOfPSc6Ilw10zgg X-Gm-Gg: ASbGncux7vqwOAuoxJ1JiHk6rp7jz+jm5t1e6XiGEgQyRXPKzd78zQmtjJVyoF2i7MP zqNSY7ZVTa/+zug9hio6pQs8JyL3KfNHoF14xVvBHK8v4YtCesGGYeCz9CeD+sG7KLfI8nHMfs0 guOLkAuS7RQIiR4+DVn2L4t5vPlEXzd91ft+aMO0U8H2r23ntyEktAwEL+gs7K8gjA/3d0uF0kM ihD3+XV+z+0ZwbMbuo+PEAcdODa1m1HO19sg64dqgWuijP3hO9H1g== X-Google-Smtp-Source: AGHT+IHVxykbYpb8GpZQxJypeEXPACgZ0ySjy1Awacv3BANd/0rxg9WKylMMBaMqpLTqpTAo4hNZ1A== X-Received: by 2002:a05:6512:3ca4:b0:53d:f50f:c3d4 with SMTP id 2adb3069b0e04-53e129ef555mr1636605e87.9.1733220470064; Tue, 03 Dec 2024 02:07:50 -0800 (PST) Received: from nuclight.lan ([37.204.254.214]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64432efsm1771450e87.68.2024.12.03.02.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 02:07:49 -0800 (PST) Date: Tue, 3 Dec 2024 13:07:39 +0300 From: Vadim Goncharov To: Dominique Michel Cc: freebsd-hackers@freebsd.org Subject: Re: First time with freebsd and weird keyboard issue Message-ID: <20241203130739.2eacb909@nuclight.lan> In-Reply-To: <20241203100237.5623fcf0@tuxette> References: <20241126113912.60714f63@tuxette> <1732633036752.1687134307.2902732100@FreeBSD.org> <20241203100237.5623fcf0@tuxette> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd12.4) 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.79 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.79)[-0.792]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12f:from] X-Rspamd-Queue-Id: 4Y2btw2F7Gz4f0y X-Spamd-Bar: --- On Tue, 3 Dec 2024 10:20:26 +0100 Dominique Michel wrote: > Le Tue, 26 Nov 2024 14:57:32 +0000, > Lars Engels a =C3=A9crit : >=20 > > 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" This is for console keyboard, it has nothing to do with X11. > > > 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 That's essentially shell-independet setting of locale environment variables. > > 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. =20 >=20 > I followed the handbook: 25.2.1.1. Login Classes Method > https://docs.freebsd.org/en/books/handbook/l10n/#login-class >=20 > "i Note:=09 >=20 > For an end user, the cap_mkdb command will need to be run on their > ~/.login_conf for any changes to take effect." >=20 > >=20 > > Another run cap_mkdb /etc/login.conf should fix it. > > =20 >=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. Yep, because $LANG alone is not enough for full X11 l10n. > 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: >=20 > setxkbmap -layout 'ch(fr)' -model pc105 -option > terminate:ctrl_alt_bksp,keypad:pointerkeys >=20 > Note the single quotes around the layout and the (). Without language variables you'll only get keyboard with this and not messages, time etc. stuff, e.g. `ls -l` month names in xterm --=20 WBR, @nuclight From nobody Tue Dec 3 11:46:23 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 4Y2f4q5YR4z5ftFh for ; Tue, 03 Dec 2024 11:46:35 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4Y2f4p55SRz4qbB for ; Tue, 3 Dec 2024 11:46:33 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (124-18-43-234.area1a.commufa.jp [124.18.43.234]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 4B3BkOKK033202; Tue, 3 Dec 2024 20:46:24 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1733226385; bh=ffzTl1yFfdYt0RB9GTLoKoa659AjJq9VdEdK9MkU2Kw=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=TbO9IJOQPyM2WbxLkr/vcrApI9BsPTINWmoJEYL6gaL33ifXmfvw1PIkxzmySYq0Q hg6IyKxBRbxWoovo6A9bshm2ib/8Oz/ujyZoYX0syhc3SzHcZVcsSK3+m4IOPcEVbh P8DSWPQNzkqxok0Tt0NXQV87V8ODRcn7JVgppPbQ= Date: Tue, 3 Dec 2024 20:46:23 +0900 From: Tomoaki AOKI To: Vadim Goncharov Cc: Dominique Michel , freebsd-hackers@freebsd.org Subject: Re: First time with freebsd and weird keyboard issue Message-Id: <20241203204623.65307f9a866331d6f2cc6b72@dec.sakura.ne.jp> In-Reply-To: <20241203130739.2eacb909@nuclight.lan> References: <20241126113912.60714f63@tuxette> <1732633036752.1687134307.2902732100@FreeBSD.org> <20241203100237.5623fcf0@tuxette> <20241203130739.2eacb909@nuclight.lan> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.1) 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: 8bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] X-Rspamd-Queue-Id: 4Y2f4p55SRz4qbB X-Spamd-Bar: ---- On Tue, 3 Dec 2024 13:07:39 +0300 Vadim Goncharov wrote: > On Tue, 3 Dec 2024 10:20:26 +0100 > Dominique Michel wrote: > > > Le Tue, 26 Nov 2024 14:57:32 +0000, > > Lars Engels a écrit : > > > > > 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" > > This is for console keyboard, it has nothing to do with X11. > > > > > 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 > > That's essentially shell-independet setting of locale environment > variables. > > > > 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: > > > > For an end user, the cap_mkdb command will need to be run on their > > ~/.login_conf for any changes to take effect." > > > > > > > > Another run cap_mkdb /etc/login.conf should fix it. > > > > > > > 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. > > Yep, because $LANG alone is not enough for full X11 l10n. > > > 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 (). > > Without language variables you'll only get keyboard with this and not > messages, time etc. stuff, e.g. `ls -l` month names in xterm > > -- > WBR, @nuclight Just a pointer. The same thing is discussed at forums.freebsd.org, too. Answered by different persons (including me) with different aspects. https://forums.freebsd.org/threads/wrong-keyboard-map-in-x.95778/ -- Tomoaki AOKI From nobody Wed Dec 4 08:46:33 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 4Y3B1X2JMqz5gCg3 for ; Wed, 04 Dec 2024 08:45:36 +0000 (UTC) (envelope-from anthony.pankov@yahoo.com) Received: from sonic313-22.consmr.mail.ir2.yahoo.com (sonic313-22.consmr.mail.ir2.yahoo.com [77.238.179.189]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y3B1W0dTWz4pPQ for ; Wed, 4 Dec 2024 08:45:35 +0000 (UTC) (envelope-from anthony.pankov@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=tfgP6GX7; spf=pass (mx1.freebsd.org: domain of anthony.pankov@yahoo.com designates 77.238.179.189 as permitted sender) smtp.mailfrom=anthony.pankov@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1733301932; bh=G+zi+ruPkM7RrE2P/0AnhUEJVWh0zgpsYIDYKRxb/90=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=tfgP6GX7sjMOP7EWYa9DLZAhPUghXdt9LfGK+L06H5Bvhk4Oe0GgKzDuXEwEhRH/7tfSB53ibg95+kjsz5R/ffC1AhmSDeQERX476DYyHtxUROu6Yk+ZsiJgLArf57gPy10F0Am61BKGKmtEOKaqOmoD+a01CGkajUmjnwabkKODo9HaaJGTrA4pRc72+Mqob+0+1WLW0BWqne/vvkZKT8u0hncYmsRvhb3KZ8QOBOXSpm10vzas7cDmseWaoA5uDEg/EarbF8FnCqdAatZRPgt1CgznZruA+NX0+Hk/rof+GMdoz+hPdKhM0owKxFOCkzD/hOcrEPhCV/kF3f/gMA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1733301932; bh=uo8MFqLU4GlHabfEhY/RsxkY2Ky9BP0OYtkFQ7cn0eh=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=amZbvCiIKhpk5MgYuc3JqDw8hnfs/J2jDn/rR/ROUQuNUReGyH0ag8tqQd0ZTshYDtXhsqSCDLYRMYAqfcjyxpkl3nah8LKZk+qR95wQpAWfb2LHqpsQPaNdngoGxP2jIEYujjFMmXZ3P5V/cCl021kwaCjYADqtmlCKTSOCsXp8UwTnDx5F1uz5srKlS3KeaauFSd952iyhycShexaahH2WFv7vmIwheJ0UwkzzuAbh+IszwcOGOJENvqPlr1nw0UmSJIdiJ+U1wMjoqH6w6Wbjm9hhv3K67FAlq8UI0QfEwtuNCISoGBPg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vLBMpAdoCvm84eZvrSm2rUibIYxK7eNf5mIXLnkyfBnSY3qJmE_WiYxPM b4EYRz_Vt4KoZGDWniQCfahlvPmbTDfC9iu9mPa5PFkWrfWFqwPlFYTD7WCjNp3WgeAo9f4xVpC2 AZcCWJvPfpJnpOYA- X-Sonic-MF: X-Sonic-ID: f9856d5e-c2fc-4695-b40b-668d44463bbe Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Wed, 4 Dec 2024 08:45:32 +0000 Received: by hermes--production-ir2-c694d79d9-qp6kn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 37823a66e0751f6258db60cf6811cb42; Wed, 04 Dec 2024 08:45:29 +0000 (UTC) Date: Wed, 4 Dec 2024 11:46:33 +0300 From: Anthony Pankov Message-ID: <1346215697.20241204114633@yahoo.com> To: freebsd-hackers@freebsd.org Subject: status of 9p fs virtio client (14-STABLE as guest) 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=us-ascii Content-Transfer-Encoding: 7bit References: <1346215697.20241204114633.ref@yahoo.com> X-Mailer: WebService/1.1.22941 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[77.238.179.189:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[77.238.179.189:from] X-Rspamd-Queue-Id: 4Y3B1W0dTWz4pPQ X-Spamd-Bar: --- Hello, can anybody explain current situation with mounting 9p fs from 14-S guest? Sometime ago there was a hint to compile and use additional module: kldload virtio_9pfs.ko,virtio_9pnet.ko mount -t virtfs -o trans=virtio 9p /host (https://forums.freebsd.org/threads/status-of-virtfs.75826/page-2) Since that the sources (https://github.com/swills/virtfs-9p-kmod) seems to stale. It merged into CURRENT (https://reviews.freebsd.org/rGe97ad33a89a78f55280b0485b3249ee9b907a718) but not in 14-STABLE. For now is there any way to mount host-provided 9p virtio device in 14-STABLE guest? -- Best regards, Anthony mailto:anthony.pankov@yahoo.com