Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4511

Enable Natural Scrolling for Trackpoint on Ubuntu 22.04 LTS

$
0
0

How to enable natural scrolling for a trackpoint on Ubuntu 22.04 LTS?There are many questions and answers to this, for instance 1, 2, 3.They are outdated and do not work for me. For instance, 1 suggests to do

$ xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Natural Scrolling Enabled" 1

However, I do not have such the device TPPS/2 IBM TrackPoint nor anything similar.The command xinput list outputs:

WARNING: running xinput against an Xwayland server. See the xinput man page for details.⎡ Virtual core pointer                      id=2    [master pointer  (3)]⎜↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]⎜↳ xwayland-pointer:16                       id=6    [slave  pointer  (2)]⎜↳ xwayland-relative-pointer:16              id=7    [slave  pointer  (2)]⎜↳ xwayland-pointer-gestures:16              id=8    [slave  pointer  (2)]⎜↳ xwayland-touch:16                         id=10   [slave  pointer  (2)]⎜↳ xwayland-tablet stylus:16                 id=11   [slave  pointer  (2)]⎜↳ xwayland-tablet eraser:16                 id=12   [slave  pointer  (2)]⎜↳ xwayland-tablet cursor:16                 id=13   [slave  pointer  (2)]⎣ Virtual core keyboard                     id=3    [master keyboard (2)]↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]↳ xwayland-keyboard:16                      id=9    [slave  keyboard (3)]

I tried to set this property for device with ID=6, but it errored property 'libinput Natural Scrolling Enabled' doesn't exist, you need to specify its type and format.

I also tried to modify /usr/share/X11/xorg.conf.d/40-libinput.conf and update the lines as documented in 4:

Section "InputClass"        Identifier "libinput pointer catchall"        MatchIsPointer "on"        MatchDevicePath "/dev/input/event*"        Driver "libinput"        Option "NaturalScrolling" "True" # does not workEndSection

and then restart, but to no avail. (replacing "True" to "true", "1", 1 did not help).

Suggestions?

Additional info: the laptop is ThinkPad Yoga X1 Gen7, the output of sudo libinput list-devices contains the block:

Device:           TPPS/2 Elan TrackPointKernel:           /dev/input/event6Group:            10Seat:             seat0, defaultCapabilities:     pointer Tap-to-click:     n/aTap-and-drag:     n/aTap drag lock:    n/aLeft-handed:      disabledNat.scrolling:    disabledMiddle emulation: disabledCalibration:      n/aScroll methods:   *buttonClick methods:    noneDisable-w-typing: n/aAccel profiles:   flat *adaptiveRotation:         n/a

Viewing all articles
Browse latest Browse all 4511

Trending Articles