Re: libinput recognizies my keyboard, but not its arrow keys
- In reply to: William Bulley : "Re: libinput recognizies my keyboard, but not its arrow keys"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jan 2024 20:38:09 UTC
On Mon, 29 Jan 2024 15:20:17 -0500 William Bulley <web@umich.edu> wrote: > According to Michael Gmelin <freebsd@grem.de> on Mon, 01/29/24 at > 14:55: > > > > Did you try if it works directly after running each of the commands > > or did you restart x11? > > I believe I said that I restarted x11 each time (I placed these extra > commands in my .xinitrc in which I had an original setxkbmap command) > > > These settings change the running x11 session and take immediate > > effect, restating x11 will start with your defaults and is not > > required for this test. > > So, okay, in a brand new xterm I tried to edit a multiline file. > > I verified that moving around in this file using my arrow keys > did not work. > > Then in that same xterm window I issued each of those above three > commands in turn, each time going back to edit that file and try > to move around within that file using the arrow keys. > > None of that effort made any change in the action of my arrow keys. > > > If this doesn't help, I would suggest to start without any specific > > xorg.conf file(a) (just move it out of the way) and see if the > > defaults (in combination with one of setxkbmap commands) does the > > trick. > > Believe me when I say that was exactly what I did when trying to get > any x11 session to appear on my monitor. With an empty /etc/X11 and > empty /usr/local/etc/X11/worg.conf.d directory(s) I could not get x11 > to work. > > > Sharing you xorg log won't hurt either. > > I did that in answer to another op's reply. Thanks again. > It's always a bit hard to support remotely, hence my questions to be crystal clear what you tried. This is what I use in in /usr/local/etc/X11/xorg.conf.d/99-myinput.conf: Section "InputClass" Identifier "libinput keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "XkbRules" "evdev" # Option "Ignore" "on" EndSection Section "InputClass" Identifier "libinput touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "MiddleEmulation" "on" Option "DisableWhileTyping" "off" EndSection (the touchpad section is probably not what you need). So maybe - as a last "simple" solution, you could try: setxkbmap -model pc105 -layout us in your .xinitrc and place 99-myinput.conf from above as the only xorg configuration in /usr/local/etc/X11/xorg.conf.d/ Best Michael -- Michael Gmelin