Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2020 22:00:52 +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:  <c1610dae-3550-abbb-9832-55f592c3bc98@freebsd.org>
In-Reply-To: <fcad26a1-e678-3da1-3c4f-3781cb73650a@freebsd.org>
References:  <fcad26a1-e678-3da1-3c4f-3781cb73650a@freebsd.org>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c1610dae-3550-abbb-9832-55f592c3bc98>