From owner-freebsd-x11@freebsd.org Mon Mar 23 21:01:04 2020 Return-Path: Delivered-To: freebsd-x11@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 0674D26EBB1 for ; Mon, 23 Mar 2020 21:01:04 +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 48mRcb6MDlz4DFq for ; Mon, 23 Mar 2020 21:01:03 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D600E26EBAE; Mon, 23 Mar 2020 21:01:03 +0000 (UTC) Delivered-To: x11@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 D564B26EBA9; Mon, 23 Mar 2020 21:01:03 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (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 48mRcZ1qqnz4DFB; Mon, 23 Mar 2020 21:01:02 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 48mRcP5dJjz3m0v; Mon, 23 Mar 2020 21:00:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id Qfh-LAlX1f-v; Mon, 23 Mar 2020 21:00:53 +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 48mRcP154mz3lcX; Mon, 23 Mar 2020 21:00:53 +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: Date: Mon, 23 Mar 2020 22:00:52 +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: 48mRcZ1qqnz4DFB X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [1.38 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_SPAM_LONG(0.94)[0.940,0]; NEURAL_SPAM_MEDIUM(0.44)[0.435,0]; ASN(0.00)[asn:36236, ipnet:2607:f740:d::/48, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2020 21:01:04 -0000 In ports r528813 I switched FreeBSD 11 (including FreeBSD 11.3 and the=20 upcoming 11.4) back to use the legacy rule set. This means that once=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. If you are on FreeBSD 12 or later, and are using xf96-input-keyboard,=20 you might still need to set this env variable. Please see the=20 instructions below. Regards 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 x11@FreeB= SD.org=20 > . Thank you! ] >=20 > In order to improve support when using evdev to manage input devices, i= n=20 > particular keyboards, we have switched the default in x11/libxkbcommon=20 > to the evdev instead of the legacy ruleset.=C2=A0 This was done in port= s=20 > r528813 . >=20 > On FreeBSD 11.3, the default configuration still requires the legacy=20 > ruleset. >=20 > 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. >=20 > 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. >=20 > The easiest way to accomplish this is by adding it to your shell startu= p=20 > file. >=20 > As an example, for users of [t]csh, put > =C2=A0 setenv XKB_DEFAULT_RULES xorg > in ~/.login >=20 > For users of bourne type shells (sh, bash, ksh, zsh, ...) instead put > export XKB_DEFAULT_RULES=3Dxorg > in ~/.profile >=20 > Regards --=20 Niclas Zeising FreeBSD Graphics Team