2025-04-13T20:42:07+0000 "H. Hartzer" <h...@hartzer.sh>: > Hi misc@, > > I've been using 7.6, through the same drive, on three different Thinkpad > laptops. Pretty different results on all of them as far as the > trackpoint goes. > > T400: > > In sway: Touchpad works great, but the whole trackpoint does nothing, buttons > and > all. I think that's because /dev/wsmouse1 is owned by root:wheel, and not > my user? /dev/wsmouse0 is owned by my user. I'm not sure what configures > /dev permissions. I do see that /dev is pre-populated and not dynamic. > > R500: > > In sway or on the console with wsmoused running: Trackpoint jumps around > erratically, like it does box jumps from one corner to another. > Unusable. Touchpad is good, though. Trackpoint buttons work, but after > using them the cursor jumps away. It's possible I was using root for > sway, but can't quite remember when I was doing this. > > X: Trackpoint works fine. However, one of my favorite features is being > able to hold down the middle button and scroll with the trackpoint. It's > not doing this. > > In FreeBSD with sway it worked as I expected it to, including with the > middle button and scroll, so I'm ruling out hardware. > > X200s: > > Sway: Trackpoint works great, but no middle mouse button scrolling. It > is a little slow, though. I didn't notice any wsconsctl tunables for > speed on it.
I have the following in ~/.xsession to get middle mouse button scrolling with the trackpoint (see ws(4)): xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5 If you want "natural scrolling" you can reverse the scrolling direction with the following: # wsconsctl mouseX.reverse_scrolling=1 where X is the index of the of the wsmouse device (in this case the trackpoint, see wsmouse(4)). To make this permanent you can append the variable assignment above to /etc/wsconsctl.conf (see wsconsctl.conf(5)). > I'm rather new to OpenBSD, coming from a FreeBSD background. I may be > missing some obvious things here and would appreciate some guidance on > what to try. I also understand that Wayland is pretty new to OpenBSD and > I may be asking for some problems. > > Many years ago I configured my X configuration by hand, then it > generally seemed to "figure it out" and I've been configuration-less for > a while. I'm not sure what the best practices currently are. > > I appeciate any advice you can offer. > > Thank you! > > -Henrich >