keyboard arrow keys not working...
Peter Hutterer
peter.hutterer at who-t.net
Mon Oct 28 05:50:14 UTC 2024
On Mon, Oct 28, 2024 at 01:24:34AM -0400, Alan Grimes wrote:
> Yeah, it's a clusterpluck, I ran into this about six months ago myself. This
> is my xorg.conf, for dvorak layout:
>
> Section "InputDevice"
>
> # generated from default
> # Driver "keyboard"
> Identifier "Keyboard0"
> Driver "libinput"
> Option "xkbmodel" "evdev"
> Option "XkbLayout" "us"
> Option "XkbVariant" "dvorak"
> Option "xkbrules" "evdev"
> EndSection
fwiw, unless you also have AutoAddDevices off in your ServerLayout this
section shouldn't even be used. We've been using InputClass and Match
statements since around 2008, static device configuration isn't really a
thing anymore now that we have modern things like USB mice that can be
hot-plugged at runtime.
Cheers,
Peter
>
> I don't even know how my drivers work, I think my distro had stupidly
> removed libinput or some nonsense like that. It started working again when I
> put libinput back in.
>
> Anyway, I forgot about most of it already and have no intention of touching
> it again during my natural lifespan.
>
>
> William Bulley wrote:
> > According to Peter Hutterer <peter.hutterer at who-t.net> on Sun, 10/27/24 at 20:06:
> > > paging in things from a long time ago: arrow keys mixup used to be
> > > an indication of xfree86 vs evdev XKB rules. I don't know enough about
> > > FreeBSD but might be that you're using the evdev ruleset with the
> > > old keyboard driver or the xfree86 ruleset with the evdev/libinput
> > > driver. You might find google results for this from around 2006-2009
> > > where this was a frequent-enough bug.
> > Thank you for the reply! I'll forgive you for not knowing enough
> > about FreeBSD. *grin*
> >
> > I have been struggling looking up things along the lines of which
> > you speak above. Not knowing the history is somewhat of a road
> > block, but I think you are onto something.
> >
> > I have a friend with similar setup who ran the same setxkbmap(1)
> > that I attached to my email. Instead of "base" for "rules" he
> > had "evdev" and his setup works fine (keyboard plus xorg/x11).
> >
> > I have "libinput" in my "InputClass" sections of my xorg config
> > file in the /usr/local/share/X11/xorg.conf.d/ directory.
> >
> > It is unfortunate that this stuff is still in the mix and able
> > to let dummys like me stumble into a confusing situation. :-(
> >
> > Thanks again. Have a great day!
> >
>
>
> --
> You can't out-crazy a Democrat.
> #EggCrisis #BlackWinter
> White is the new Kulak.
> Powers are not rights.
>
More information about the xorg
mailing list