If you want to tweak the speed, repeat the steps above starting from the point you edited the file.Xmodmap is the command to change the mouse button mapping: your mouse scrolling should me 3x faster. install the new files sudo make install.install the build dependencies for the package sudo apt-get build-dep libinput.add value *= 3 before that variable is last used, to multiply it by three before the value is returned. vim src/xf86libinput.c at the end of method calculate_axis_value(. either apply the patch from the comment or edit the file directly (it is a single line change).my example was git checkout xf86-input-libinput-0.29.0 because my version was 0.29.0-1 checkout the git branch with your version from above.I am not sure what you will lose if that number is over 1, might be missing out security updates so proceed with caution. take note of the version and ignore the -1 suffix as that is the ubuntu repackage version. dpkg -l | grep xserver-xorg-input-libinput.if you are fine with the caveats, here are simplified steps from that.there are some caveats, such as impacting game input. If you don't know about ldconfig etc, just reboot after sudo make install) (note that the change will make scroll 3x faster. Follow the rest of the instructions on.install base developer packages to compile this code sudo apt install xserver-xorg-dev libinput-dev.Workaround is to manually apply a simpler version of the patch: instructions are: There is a patch floating but not yet merged. Not possible now because libinput doesn't have feature parity with evdev yet (well, the right answer is actually "install archlinux :)" since they already have a package with the patch, but I will try to write up a work around for Ubuntu here) Libinput Horizontal Scroll Enabled (356): 1 Libinput Send Events Mode Enabled Default (324): 0, 0 Libinput Send Events Mode Enabled (323): 0, 0 Libinput Send Events Modes Available (322): 1, 0 Libinput Left Handed Enabled Default (354): 0 Libinput Accel Profile Enabled Default (352): 1, 0 Libinput Accel Profile Enabled (351): 1, 0 Libinput Accel Profiles Available (350): 1, 1 Libinput Accel Speed Default (349): 0.000000 Libinput Rotation Angle Default (347): 0.000000 Libinput Middle Emulation Enabled Default (345): 0 Libinput Middle Emulation Enabled (344): 0 Libinput Button Scrolling Button Default (343): 2 Libinput Button Scrolling Button (342): 2 Libinput Scroll Method Enabled Default (341): 0, 0, 0 Libinput Scroll Method Enabled (340): 0, 0, 0 Libinput Scroll Methods Available (339): 0, 0, 1 Libinput Natural Scrolling Enabled Default (338): 0 Libinput Natural Scrolling Enabled (337): 0 All i have is libinput ones, and none seem to be the correct one by the labels. Most other answers on this type of question point to using xinput to set the "scroll distance" or "scroll delta" from "evdev".īut my device have zero evdev or Scroll distance properties.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |