[SOLVED] Natural scrolling in i3

Hi, after yesterday update, my touchpads scroll direction reverted back (naturalscrolling false)
based on here i added Option "NaturalScrolling" "true" to my libinput file but after rebooting, my system didn’t boot and stuck on message /dev/sda2: clean smthingfile/smthing ..... but i could use tty so i guess there was something wrong with my X ? (i should add that i had naturalscrolling before with this method)

here is my 40-libinput file :point_down:

  GNU nano 5.8                                                                                                40-libinput.conf                                                                                                          
# Match on all types of devices but joysticks
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
# Section "InputClass"
#   Identifier "something or other"
#   MatchDriver "libinput"
#   MatchIsTouchpad "on"
#   ... other Match directives ...
#   Option "someoption" "value"
# EndSection
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
#       Option "NaturalScrolling" true

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"

in tty mode, i commented out that option so my OS can boot without issues
if u need more info, here’s inxi -Fxxxz output :

System:    Kernel: 5.12.15-arch1-1 x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: i3 4.19.1 info: polybar vt: 7 
           dm: LightDM 1.30.0 Distro: EndeavourOS base: Arch Linux 
Machine:   Type: Laptop System: Acer product: Aspire F5-573G v: V1.27 serial: <filter> 
           Mobo: Acer model: Captain_SK v: V1.27 serial: <filter> UEFI: Insyde v: 1.27 date: 05/26/2017 
Battery:   ID-1: BAT1 charge: 26.3 Wh (94.9%) condition: 27.7/40.9 Wh (67.9%) volts: 16.3 min: 14.6 model: LGC AS16A8K 
           type: Li-ion serial: <filter> status: Charging 
CPU:       Info: Dual Core model: Intel Core i5-6200U bits: 64 type: MT MCP arch: Skylake rev: 3 cache: L2: 3 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19204 
           Speed: 500 MHz min/max: 400/2800 MHz Core speeds (MHz): 1: 500 2: 1058 3: 500 4: 500 
Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Acer Incorporated ALI driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:1916 class-ID: 0300 
           Device-2: NVIDIA GM107 [GeForce 940MX] vendor: Acer Incorporated ALI driver: N/A bus-ID: 01:00.0 chip-ID: 10de:179c 
           class-ID: 0302 
           Device-3: Realtek HD WebCam type: USB driver: uvcvideo bus-ID: 1-7:3 chip-ID: 0bda:57f2 class-ID: 0e02 
           serial: <filter> 
           Display: x11 server: X.Org 1.20.12 driver: loaded: modesetting resolution: 1920x1080~60Hz s-dpi: 96 
           OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 21.1.4 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
           bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403 
           Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX] vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fbc class-ID: 0403 
           Sound Server-1: ALSA v: k5.12.15-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.31 running: no 
Network:   Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Lite-On driver: ath10k_pci v: kernel 
           port: 4000 bus-ID: 03:00.0 chip-ID: 168c:0042 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8168 
           v: 8.049.02-NAPI port: 3000 bus-ID: 04:00.1 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp4s0f1 state: down mac: <filter> 
Bluetooth: Device-1: Lite-On Qualcomm Atheros QCA9377 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-5:2 
           chip-ID: 04ca:3015 class-ID: e001 
           Report: This feature requires one of these tools: hciconfig/bt-adapter 
Drives:    Local Storage: total: 223.57 GiB used: 153.66 GiB (68.7%) 
           ID-1: /dev/sda vendor: Kingston model: SUV400S37 240GB size: 223.57 GiB speed: 6.0 Gb/s rotation: SSD 
           serial: <filter> rev: 0A0 scheme: GPT 
Partition: ID-1: / size: 218.51 GiB used: 153.66 GiB (70.3%) fs: ext4 dev: /dev/sda2 
           ID-2: /boot/efi size: 511 MiB used: 280 KiB (0.1%) fs: vfat dev: /dev/sda1 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 48.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 180 Uptime: 8m wakeups: 1 Memory: 15.51 GiB used: 1.99 GiB (12.8%) Init: systemd v: 248 Compilers: 
           gcc: 11.1.0 Packages: pacman: 1107 Shell: Zsh v: 5.8 running-in: xfce4-terminal inxi: 3.3.03 

ok i just figured out what i did wrong
i didn’t write true between " "
the correct way was Option "NaturalScrolling" "true"

1 Like

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