How do i turn off the trackpoint within wayland?
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?
This worked for me today:
sudo gedit /etc/udev/rules.d/99-myfavoritetrackpoint.rules
In that file:
# ALPS DualPoint Stick: Ignore as input device
ATTRS{name}=="*DualPoint Stick", ENV{ID_INPUT}="", ENV{ID_INPUT_MOUSE}="", ENV{ID_INPUT_POINTINGSTICK}=""
If that's not your device name, you would probably do the following and look for your device name to replace in the above command:
sudo apt-get install libinput-tools
sudo libinput list-devices