Change scrolling mode for TrackPoint

Hi!
Recently had to reinstall due to some breakage I didn’t have time to fix before school. Currently configuring /etc/X11/xorg.conf.d and can’t seem to get my TrackPoint to scroll how I want it to.

I want NaturalScrolling on my touchpad (swiping upwards makes the screen scroll downwards) and I want my TrackPoint to scroll the way it’s pointing. I seem to be unable to figure out how to do this in 30-touchpad.conf.

edit: apparently this also applies for any external mouse I plug in, which is highly inconvenient.

Any and all help is appreciated!

System info dumps

[runarcn@endeavour xorg.conf.d]$ cat 30-touchpad.conf
Section "InputClass"
	Identifier "touchpad"
	MatchIsTouchpad "on"
	Driver "libinput"
	Option "NaturalScrolling" "true"
EndSection

Section "InputClass"
	Identifier "trackpoint"
	Driver "libinput"
	Option "NaturalScrolling" "true"
EndSection

[runarcn@endeavour xorg.conf.d]$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=12	[slave  pointer  (2)]
⎜   ↳ TPPS/2 Elan TrackPoint                  	id=13	[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)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Lid Switch                              	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C         	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=14	[slave  keyboard (3)]


[runarcn@endeavour xorg.conf.d]$ sudo libinput list-devices
Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event13
Group:            7
Seat:             seat0, default
Size:             70x50mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles:   flat *adaptive custom
Rotation:         n/a

Device:           TPPS/2 Elan TrackPoint
Kernel:           /dev/input/event14
Group:            8
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         n/a

 
[runarcn@endeavour xorg.conf.d]$ neofetch
                     ./o.                  runarcn@endeavour 
                   ./sssso-                ----------------- 
                 `:osssssss+-              OS: EndeavourOS Linux x86_64 
               `:+sssssssssso/.            Host: 20X2S0DL00 ThinkPad L14 Gen 2 
             `-/ossssssssssssso/.          Kernel: 6.2.12-arch1-1 
           `-/+sssssssssssssssso+:`        Uptime: 1 hour, 29 mins 
         `-:/+sssssssssssssssssso+/.       Packages: 1028 (pacman) 
       `.://osssssssssssssssssssso++-      Shell: bash 5.1.16 
      .://+ssssssssssssssssssssssso++:     Resolution: 1920x1080 
    .:///ossssssssssssssssssssssssso++:    WM: i3 
  `:////ssssssssssssssssssssssssssso+++.   Theme: Adwaita [GTK2], Arc-Darker [GTK3] 
`-////+ssssssssssssssssssssssssssso++++-   Icons: Adwaita [GTK2], Qogir [GTK3] 
 `..-+oosssssssssssssssssssssssso+++++/`   Terminal: xfce4-terminal 
   ./++++++++++++++++++++++++++++++/:.     Terminal Font: Source Code Pro 10 
  `:::::::::::::::::::::::::------``       CPU: 11th Gen Intel i3-1115G4 (4) @ 4.100GHz 
                                           GPU: Intel Tiger Lake-LP GT2 [UHD Graphics G4] 
                                           Memory: 1376MiB / 7602MiB 

                                                                   

Hello, I have no experience with trackpoints myself and am just answering because you didn’t get any replies yet.

Did you have a look at this: https://wiki.archlinux.org/title/TrackPoint

Especially the xorg config file looks a bit different than yours.

update: my config file for 30-touchpad.conf apparently caught everything mouse-related so I just had to add the flag MatchIsTouchpad "on" and poof it’s all good. also deleted the second InputClass-section

1 Like

yeah I was looking at that and it didn’t solve it. I made a reply with the solution that worked for me though ^-^

Thanks for the reply

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.