In Xubuntu, both acceleration and sensitivity settings appear, but changing them has no effect (regardless of the device). In Manjaro Xfce Edition, both settings appear in VirtualBox, but sensitivity doesn't show up when running on my machine and changing acceleration has no effect. I installed all updates before testing this. I only tried it on one laptop. In Deepin Desktop environment, both acceleration and sensitivity could be changed on the same laptop.
https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/1758023 The xfce4-settings package in Xubuntu 18.04 was not built with libinput support, but xserver-xorg-input-libinput is installed and used by default. This was fixed in 18.10.
You're right, in Xubuntu 18.10 changing mouse acceleration is no problem. But for all my devices, changing mouse sensitivity is not possible because the option isn't there. When I tried Xubuntu 18.10 in VirtualBox, the mouse sensitivity option is shown for 2 of three devices: You can change sensitivity for both "VirtualBox mouse integration" and "VirtualBox USB Tablet". Sensitivity is not shown for "ImExPS/2 Generic Explorer Mouse". Why does changing sensitivity seem unavailable for many devices?
I am not sure how this is supposed to work. This is what xinput returns: $ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ VirtualBox mouse integration id=9 [slave pointer (2)] ⎜ ↳ VirtualBox USB Tablet id=10 [slave pointer (2)] ⎜ ↳ ImExPS/2 Generic Explorer Mouse id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Sleep Button id=7 [slave keyboard (3)] ↳ Video Bus id=8 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)] $ xinput list-props 9 | grep Accel $ xinput list-props 10 | grep Accel $ xinput list-props 12 | grep Accel libinput Accel Speed (277): -1.000000 libinput Accel Speed Default (278): 0.000000 libinput Accel Profiles Available (279): 1, 1 libinput Accel Profile Enabled (280): 1, 0 libinput Accel Profile Enabled Default (281): 1, 0 $ Looking at the source code we have a code block [1] which updates the 'threshold' variable if LIBINPUT_PROP_ACCEL does _not_ exist for a device. The 'threshold' variable determines if the sensitivity slider is shown or not [2]. [1] https://git.xfce.org/xfce/xfce4-settings/tree/dialogs/mouse-settings/main.c#n1282 [2] https://git.xfce.org/xfce/xfce4-settings/tree/dialogs/mouse-settings/main.c#n1409
libinput does not give access to threshold like the evdev and synaptics drivers. Acceleration, however works fine here. Libinput accel speed perprties takes values between -1.0 and +1.0 and xfce settings maps the user value to this range when libinput is detected, This can be observed by changing the "pointer speed" setting in xfce and check the props changing: $ xinput watch-props 9 As a side note, see this series of blog posts from Peter on how libinput acceleration compares to evdev and synaptics drivers on Xorg: https://who-t.blogspot.com/2018/05/x-server-pointer-acceleration-analysis-part1.html
Closing old bugs