From owner-freebsd-ports@freebsd.org Mon Mar 23 21:14:24 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B02D26F58A for ; Mon, 23 Mar 2020 21:14:24 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48mRvz75dvz4VhR for ; Mon, 23 Mar 2020 21:14:23 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E8BA726F587; Mon, 23 Mar 2020 21:14:23 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E7CE326F584; Mon, 23 Mar 2020 21:14:23 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48mRvz1c96z4Vg1; Mon, 23 Mar 2020 21:14:23 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 48mRvx1xQGz3m0B; Mon, 23 Mar 2020 21:14:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id WtAOwtcE-uqS; Mon, 23 Mar 2020 21:14:20 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:cd3b:bf24:3448:4c23]) by mail.daemonic.se (Postfix) with ESMTPSA id 48mRvw4sdbz3lcX; Mon, 23 Mar 2020 21:14:20 +0000 (UTC) Subject: Re: users of xorg, in particular on FreeBSD 11.3 From: Niclas Zeising To: x11@FreeBSD.org, stable@FreeBSD.org, ports@FreeBSD.org, current@FreeBSD.org Reply-To: x11@FreeBSD.org References: Message-ID: <1e391a4a-5e02-bc82-9143-fd609781ad84@freebsd.org> Date: Mon, 23 Mar 2020 22:14:20 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48mRvz1c96z4Vg1 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [1.74 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_SPAM_LONG(1.00)[0.996,0]; NEURAL_SPAM_MEDIUM(0.74)[0.743,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2020 21:14:24 -0000 On 2020-03-23 22:00, Niclas Zeising wrote: > In ports r528813 I switched FreeBSD 11 (including FreeBSD 11.3 and the=20 ^^^^^^^^ This should be r529003, sorry about that. > upcoming 11.4) back to use the legacy rule set.=C2=A0 This means that o= nce=20 > you have installed libxkbcommon 0.10.0_2 on FreeBSD 11, things should=20 > work as normal, and the environment variable XKB_DEFAULT_RULES does not= =20 > need to be changed. >=20 > If you are on FreeBSD 12 or later, and are using xf96-input-keyboard,=20 > you might still need to set this env variable.=C2=A0 Please see the=20 > instructions below. >=20 > Regards >=20 > On 2020-03-21 00:41, Niclas Zeising wrote: >> [ This is cross-posted across several mailing lists for maximum=20 >> visibility.=C2=A0 Please respect reply-to and keep replies to=20 >> x11@FreeBSD.org . Thank you! ] >> >> In order to improve support when using evdev to manage input devices,=20 >> in particular keyboards, we have switched the default in=20 >> x11/libxkbcommon to the evdev instead of the legacy ruleset.=C2=A0 Thi= s was=20 >> done in ports r528813 . >> >> On FreeBSD 11.3, the default configuration still requires the legacy=20 >> ruleset. >> >> If you are using FreeBSD 11.3, or if you are using xf86-input-keyboard= =20 >> on FreeBSD 12 or later, you need to change the ruleset used by=20 >> x11/libxkbcommon. >> >> If you have issues with your keyboard, most notably arrow keys, and if= =20 >> /var/log/Xorg.*.log shows that the "kbd" or "keyboard" driver is being= =20 >> used, you need to switch to legacy rules by setting the environment=20 >> variable XKB_DEFAULT_RULES to xorg. >> >> The easiest way to accomplish this is by adding it to your shell=20 >> startup file. >> >> As an example, for users of [t]csh, put >> =C2=A0=C2=A0 setenv XKB_DEFAULT_RULES xorg >> in ~/.login >> >> For users of bourne type shells (sh, bash, ksh, zsh, ...) instead put >> export XKB_DEFAULT_RULES=3Dxorg >> in ~/.profile >> >> Regards >=20 >=20 Regards --=20 Niclas Zeising