Natural scrolling on mouse and track pad?

Is there a way to get natural scrolling to work on mouse and trackpad? I can’t seem to find much about it.

  1. Give us your

    inxi -Fxxxz
    

    for further help

  2. I’d still like to listen to your album in Metal thread :upside_down_face:

1 Like

See below output:

System:    Kernel: 5.12.9-arch1-1 x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: i3 4.19.1 info: i3bar vt: 2 
           dm: GDM 40.0, LightDM 1.30.0 Distro: EndeavourOS base: Arch Linux 
Machine:   Type: Laptop System: LENOVO product: 20N8001LUS v: ThinkPad E490 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20N8001LUS v: SDK0J40697 WIN serial: <filter> UEFI-[Legacy]: LENOVO v: R0YET44W (1.27 ) 
           date: 06/15/2020 
Battery:   ID-1: BAT0 charge: 42.5 Wh (100.0%) condition: 42.5/45.0 Wh (94.5%) volts: 12.3 min: 11.1 model: LGC 01AV445 
           type: Li-poly serial: <filter> status: Full cycles: 37 
CPU:       Info: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP arch: Kaby Lake note: check rev: B cache: 
           L2: 8 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 32012 
           Speed: 700 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 5: 700 6: 639 7: 660 8: 699 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:3ea0 
           class-ID: 0300 
           Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 1-6:6 chip-ID: 13d3:56a6 
           class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.11 compositor: picom v: git-dac85 driver: loaded: intel 
           unloaded: fbdev,modesetting,vesa resolution: 2560x1440~60Hz s-dpi: 96 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403 
           Device-2: GN Netcom Jabra Evolve 65 type: USB driver: jabra,snd-usb-audio,usbhid bus-ID: 1-2.3.2:8 
           chip-ID: 0b0e:030c class-ID: 0300 serial: <filter> 
           Device-3: Lenovo ThinkPad USB-C Dock Gen2 USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid 
           bus-ID: 1-2.3.3.2:12 chip-ID: 17ef:a396 class-ID: 0300 serial: <filter> 
           Device-4: Microdia NexiGo HD Webcam type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-2.3.3.3.1:15 
           chip-ID: 0c45:2690 class-ID: 0102 serial: <filter> 
           Sound Server-1: ALSA v: k5.12.9-arch1-1 running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.30 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel 
           port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp4s0 state: down mac: <filter> 
           Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: 2000 bus-ID: 05:00.0 chip-ID: 8086:2526 
           class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
           Device-3: Lenovo USB-C Dock Ethernet type: USB driver: r8152 bus-ID: 2-2.1:3 chip-ID: 17ef:a387 class-ID: 0000 
           serial: <filter> 
           IF: enp0s20f0u2u1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Bluetooth: Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-5:4 
           chip-ID: 8087:0025 class-ID: e001 
           Report: This feature requires one of these tools: hciconfig/bt-adapter 
Drives:    Local Storage: total: 942.53 GiB used: 21.41 GiB (2.3%) 
           ID-1: /dev/mmcblk0 vendor: Smart Modular Tech. model: SH256 size: 238.3 GiB rotation: SSD serial: <filter> 
           scheme: MBR 
           ID-2: /dev/nvme0n1 vendor: Toshiba model: N/A size: 238.47 GiB speed: 15.8 Gb/s lanes: 2 rotation: SSD 
           serial: <filter> rev: 0109ADLA scheme: MBR 
           ID-3: /dev/sda type: USB vendor: Samsung model: PSSD T7 size: 465.76 GiB rotation: SSD serial: <filter> 
           scheme: MBR 
Partition: ID-1: / size: 233.67 GiB used: 21.41 GiB (9.2%) fs: ext4 dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: file size: 512 MiB used: 10.5 MiB (2.1%) priority: -2 file: /swapfile 
Sensors:   System Temperatures: cpu: 53.0 C mobo: 0.0 C 
           Fan Speeds (RPM): cpu: 3300 
Info:      Processes: 304 Uptime: 4h 45m wakeups: 253 Memory: 7.36 GiB used: 4.5 GiB (61.1%) Init: systemd v: 248 
           Compilers: gcc: 11.1.0 Packages: 933 pacman: 928 flatpak: 5 Shell: Zsh v: 5.8 running-in: xfce4-terminal 
           inxi: 3.3.03 

Link to album I’ve made: https://youtu.be/Oy3OmtsRJV0

1 Like

See here for trackpad, should be same for Thinkpads probably:
https://wiki.archlinux.org/title/Lenovo_IdeaPad_U430_Touch#Track-pad

For mouse probably:
https://wiki.archlinux.org/title/Libinput#Via_Xorg_configuration_file

I don’t know on i3wm, but on KDE Plasma, there is an option called “Reverse scroll direction” under Mouse Settings.

That’s the thing, seems like there isn’t a GUI settings app on the i3 build.

have you try add ( Option “NaturalScrolling” “True” ) after driver in mouse or touchpad

in /usr/share/X11/xorg.conf.d/ 40-libinput.conf

DONT! copy +paste … type out or xorg get stuck ( tested )

EDit might need log off for apply

1 Like

To edit this config file, I have to use sudo and when I try to log in after making this change, this is when i3 fails to log in anymore. To fix that, I have to boot into GNOME and remove the line from the config file.

From another post:

Edit /usr/share/X11/xorg.conf.d/40-libinput.conf

Add there Option "NaturalScrolling" "True" like this:

For your mouse:

# Match on all types of devices but joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "NaturalScrolling" "True"
EndSection