Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2020 22:14:20 +0100
From:      Niclas Zeising <zeising@freebsd.org>
To:        x11@FreeBSD.org, stable@FreeBSD.org, ports@FreeBSD.org, current@FreeBSD.org
Subject:   Re: users of xorg, in particular on FreeBSD 11.3
Message-ID:  <1e391a4a-5e02-bc82-9143-fd609781ad84@freebsd.org>
In-Reply-To: <c1610dae-3550-abbb-9832-55f592c3bc98@freebsd.org>
References:  <fcad26a1-e678-3da1-3c4f-3781cb73650a@freebsd.org> <c1610dae-3550-abbb-9832-55f592c3bc98@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e391a4a-5e02-bc82-9143-fd609781ad84>