I got an Apple Magic Trackpad 2 and plugged it in to my Ubuntu 20.04 system. Clicking works, click-and-dragging works, and gestures like three-finger-workspace-switch work, but actually moving the mouse only works in Wayland, not X.
I got an Apple Magic Trackpad 2 and plugged it in to my Ubuntu 20.04 system. Clicking works, click-and-dragging works, and gestures like three-finger-workspace-switch work, but actually moving the mouse only works in Wayland, not X.
Aha I think I've found the solution to this as I was having the exact same issue. I initially thought it was just click-and-drag which was working but this wasn't quite the case. Slowly adding more pressure to my finger to the point it registered a click then keeping that constant and moving my finger did not move the mouse. A bit more pressure was needed.
After some desperate Googling I found this Reddit post which suggests the default finger pressure levels were probably not right: https://www.reddit.com/r/Ubuntu/comments/ahgbdg/apple_magic_trackpad_2_configuration_on_kubuntu/
I tried setting mine to the same values as in the thread and it just started working!
First you need the xinput device ID
Here, the ID of my trackpad is 32.
Now get the properties of the device to find the "Finger" ID
The ID is the bit in brackets after "Finger", mine is 330
Now you can change the levels, I'm not sure yet exactly what the numbers mean but the ones from Reddit just worked for me. Make sure to change both IDs as appropriate.
Now note that this is only a temporary solution, as soon as you unplug and replug the MT2 the settings are lost. I haven't looked into how to make this stick yet, though this looks promising: https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Configuration
I found how to make these settings permanent by editing the xorg.conf file.
Add this section to your /etc/X11/xorg.conf file:
These two options will do the trick as xinput:
Update the USB ID with your device ID, get it with "lsusb"
Hope that helps.
Regards.
According to this on wayland trackpad managed by libinput and on X by xinput. Try to compare settings of regular mouse and trackpad. Maybe sensitivity is set to 0 or trackpad emits specific events for move and you have to bind to them xinputs's move events. I want to buy same trackpad too and I hope we will be able to find solution for your problem.