Hi,
This command sets the keyboard layout. You are supposed to set the keyboard
layout which matches the physical layout of the hardware. This hadn't
changed, it's a fundamental part of X11 since I know it (X11 6.5) and even
before...
For those which had an explicit setting in xorg.conf (like me) but switched
now to nothing or the "match" snippets for mouse or kbd: you can
specify
this already in the config. Here is what I use:
---snip---
Donnerstag, 12. M?rz 2020, 10:21:40
{1} <FreeBSD 13.0-CURRENT> [video:/]
(201) root at ttypts/1 # cat /usr/local/etc/X11/xorg.conf.d/kbd.conf Section
"InputClass"
Identifier "Keyboard0"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbRules" "evdev"
EndSection
Donnerstag, 12. M?rz 2020, 10:22:05
{0} <FreeBSD 13.0-CURRENT> [video:/]
(202) root at ttypts/1 # cat /usr/local/etc/X11/xorg.conf.d/mouse.conf
Section "InputClass"
Identifier "Mouse0"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
# Option "Protocol" "auto"
# Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
---snip---
Note, I use this in sysctl.conf:
---snip---
# enable hardware devices in evdev
kern.evdev.rcpt_mask=12
---snip---
When I did that, I just validated that I was able to login to KDE (the
particular X11 is feeding a home-cinema setup and is not used often, I just
decided to update it as long as I remembered there was a change to xorg
with a config impact). I didn't check any up/down/umlauts, I just plain
assumed it works (and I still assume it does). The above is just meant to
provide some info how to make it work globally instead of having a setting
in each local startup per user.
Bye,
Alexander.
--
Send from a mobile device, please forgive brevity and misspellings.
Am 11. M?rz 2020 23:07:55 schrieb Bob Willcox <bob at immure.com>:
> On Wed, Mar 11, 2020 at 02:48:56PM +0100, Michael Gmelin wrote:
>> ???
>> >> On 11. Mar 2020, at 10:29, Mark Martinec
>> >> <Mark.Martinec+freebsd at ijs.si> wrote:
>> > ???
>> >>
>> >>> I just updated my laptop from source, and somewhere along
the way
>> >>> the key-codes Xorg sees changed.
>> >> Indeed. This doesn't just affect -CURRENT: it happened to
me on
>> >> -STABLE last week, so I'm copying that list too.
>> >
>> > And a "Down" key now opens and closes a KDE
"Application Launcher",
>> > alternatively with its original function (which makes editing a
>> > frustration).
>> >
>> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244354
>> >
>> >
>>
>> This *might* help you:
>>
>>
https://lists.freebsd.org/pipermail/freebsd-x11/2020-February/025046.html
>>
>> (Short version: run setxkbmap in ~/.xinitrc, e.g.,
>> setxkbmap -model pc105 -layout de)
>
> Will running that command return my key mappings back to what they use to
be?
>
>
>
> --
> Bob Willcox | It's possible that the whole purpose of your life is
to
> bob at immure.com | serve as a warning to others.
> Austin, TX |
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at
freebsd.org"