users of xorg, in particular on FreeBSD 11.3

Niclas Zeising <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <fcad26a1-e678-3da1-3c4f-3781cb73650a__36822.0387188316$1584747738$gmane$org@freebsd.org>
[ This is cross-posted across several mailing lists for maximum 
visibility.  Please respect reply-to and keep replies to [email protected] 
. Thank you! ]

In order to improve support when using evdev to manage input devices, in 
particular keyboards, we have switched the default in x11/libxkbcommon 
to the evdev instead of the legacy ruleset.  This was done in ports 
r528813 .

On FreeBSD 11.3, the default configuration still requires the legacy 
ruleset.

If you are using FreeBSD 11.3, or if you are using xf86-input-keyboard 
on FreeBSD 12 or later, you need to change the ruleset used by 
x11/libxkbcommon.

If you have issues with your keyboard, most notably arrow keys, and if 
/var/log/Xorg.*.log shows that the "kbd" or "keyboard" driver is being 
used, you need to switch to legacy rules by setting the environment 
variable XKB_DEFAULT_RULES to xorg.

The easiest way to accomplish this is by adding it to your shell startup 
file.

As an example, for users of [t]csh, put
   setenv XKB_DEFAULT_RULES xorg
in ~/.login

For users of bourne type shells (sh, bash, ksh, zsh, ...) instead put
export XKB_DEFAULT_RULES=xorg
in ~/.profile

Regards
-- 
Niclas Zeising
FreeBSD Graphics Team
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.