My laptop has a wonky trackpoint that keeps on moving the mouse around.
When using xorg, i can use this command to shut it off: xinput -set-prop "AlpsPS/2 ALPS DualPoint Stick" "Device Enabled" 0
seems like xinput is not a thing on wayland? A quick search gave me libinput, but libinput gives me no possibility to shut down the trackpoint (as far as i can see)
So how would I turn off the trackpoint in wayland? Or is there maybe another way of doing this than xinput/libinput?
System info:
Toshiba Portege Z30A
Ubuntu 19.10 GNOME
*Update:
I found this discussion: https://gist.github.com/fghaas/3406be59095de212182f1803a503a64b#file-75-input-rules
Which seems to do exactly what I need, but I don't understand how to execute it. Could I get some help making sense of it? Where do I put what?
xinput
is a X11-only tool. I can't offhand write an answer, but a few possibilities that come to my mind: α) Did you look at Gnome settings for "Mouse and Touchpad"? There's an option to disable touchpad, I assume there should one for trackpoint too. β) Some options unfortunately have no an UI for them. So if α didn't work, you can find out which gsetting gets changed when UI disables touchpad, and try usingdconf-editor
to find an analogous setting for the trackpoint γ) if nothing helped, libinput has "quirks" subsystem, which can be used to ignore the device too. – Hi-Angel Dec 14 '19 at 09:03Which seems to be exactly what I look for, but I don't understand how to go about executing it. Maybe someone could help me ?
– Eirik Dec 21 '19 at 15:42AttrEventCodeDisable
, you can pass it a trackpoint movement event. Its name, in turn, you can get by executingevemu-record
command, and trying to use the trackpoint. – Hi-Angel Dec 22 '19 at 00:25