Mint 21 MATE: Can't get natural scrolling to come on automatically

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
nedergander
Level 1
Level 1
Posts: 1
Joined: Sun Aug 14, 2022 3:54 pm

Mint 21 MATE: Can't get natural scrolling to come on automatically

Post by nedergander »

A First World problem, I know, but it's annoying.

I've recently upgraded from Mint 20 Cinnamon to Mint 21 MATE on my Dell XPS-13 (model 9300, early 2020), and I'm happy with the results with one irritating exception. I've always had my trackball (Logitech MX Ergo) set to 'natural scrolling' (i.e. MacOS-like). How to do so in MATE was not obvious but I eventually found the command

Code: Select all

$ xinput set-prop "pointer:Logitech MX Ergo" 315 1
The "315" comes from the command

Code: Select all

$ xinput --list-props "pointer:Logitech MX Ergo"
and is consistent every time the system is booted.

Anyway, the command does what I want, but scrolling reverts to not-natural when the system is shut down. I've tried the following ways to get it to stay 'natural' (or be automatically reset to 'natural' upon rebooting):

In Startup Applications Preferences, I've put the xinput line in just as it reads above, set the delay to 3 sec (I've tried other delays including zero and they make no difference), and the scrolling is still 'unnatural' on bootup. I thought perhaps I'd have to run the command as a shell script, so I've made it into a shell script and put the command to run the script into Startup Applications Preferences, but this too doesn't do anything.

I've created the following configuration file in /etc/X11/xorg.conf.d:

Code: Select all

  Section "InputClass"
  Identifier "Logitech MX Ergo"
  MatchProduct "pointer: Logitech MX Ergo"
  Option "NaturalScrolling" "true"
  EndSection
and this too does not work. Now, that file is owned by root, so I've copied the xinput line into my ~/.xinitrc file, which is owned by me, and that doesn't work either.

Output of inxi -Fxxxrz is as follows:

Code: Select all

$ inxi -Fxxxrz
System:
  Kernel: 5.15.0-46-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: MATE 1.26.0 info: mate-panel wm: marco 1.26.0 vt: 7
    dm: LightDM 1.30.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Dell product: XPS 13 9300 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 077Y9N v: A00 serial: <superuser required> UEFI: Dell
    v: 1.6.3 date: 05/24/2021
Battery:
  ID-1: BAT0 charge: 33.7 Wh (100.0%) condition: 33.7/51.0 Wh (66.2%)
    volts: 8.4 min: 7.6 model: BYD DELL FP86V9C type: Li-poly serial: <filter>
    status: Full
  Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: Discharging
CPU:
  Info: quad core model: Intel Core i7-1065G7 bits: 64 type: MT MCP
    smt: enabled arch: Ice Lake rev: 5 cache: L1: 320 KiB L2: 2 MiB L3: 8 MiB
  Speed (MHz): avg: 989 high: 1100 min/max: 400/3900 cores: 1: 1040 2: 717
    3: 1001 4: 1001 5: 1011 6: 1041 7: 1100 8: 1004 bogomips: 23961
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Iris Plus Graphics G7 vendor: Dell driver: i915 v: kernel
    ports: active: DP-5,eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-6
    bus-ID: 00:02.0 chip-ID: 8086:8a52 class-ID: 0300
  Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 3-9:4 chip-ID: 0bda:58fe class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: marco v: 1.26.0
    driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 7680x2400 s-dpi: 96 s-size: 2032x635mm (80.0x25.0")
    s-diag: 2129mm (83.8")
  Monitor-1: DP-3-8 pos: primary,left res: 3840x2160 hz: 30 dpi: 157
    size: 621x341mm (24.4x13.4") diag: 708mm (27.9")
  Monitor-2: eDP-1 pos: right model: Sharp res: 3840x2400 hz: 60 dpi: 339
    size: 288x180mm (11.3x7.1") diag: 340mm (13.4") modes: 3840x2400
  OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:34c8
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.0-46-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ice Lake-LP PCH CNVi WiFi vendor: Rivet Networks
    driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:34f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152 bus-ID: 2-3.3.1:4 chip-ID: 0bda:8153 class-ID: 0000
    serial: <filter>
  IF: enx98fc84e2280c state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:6 chip-ID: 8087:0026 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.2 sub-v: 237e hci-v: 5.2 rev: 237e
Drives:
  Local Storage: total: 1.82 TiB used: 237.54 GiB (12.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 2TB
    size: 1.82 TiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 4B2QEXM7 temp: 43.9 C scheme: GPT
Partition:
  ID-1: / size: 116.78 GiB used: 11.91 GiB (10.2%) fs: ext4
    dev: /dev/nvme0n1p7
  ID-2: /boot/efi size: 496 MiB used: 83.9 MiB (16.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 1.44 TiB used: 225.54 GiB (15.2%) fs: ext4
    dev: /dev/nvme0n1p8
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Repos:
  Packages: apt: 2234
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https://mintlinux.mirror.wearetriple.com/packages vanessa main upstream import backport
    2: deb http://mirror.netcologne.de/ubuntu jammy main restricted universe multiverse
    3: deb http://mirror.netcologne.de/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://mirror.netcologne.de/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/slack.list
    1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
Info:
  Processes: 276 Uptime: 2h 13m wakeups: 131 Memory: 15.22 GiB
  used: 3.36 GiB (22.1%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.2.0 alt: 11 Shell: Bash v: 5.1.16 running-in: mate-terminal
  inxi: 3.3.13
I'll be most grateful if someone can tell me how to get natural scrolling to work automatically, and even more grateful if you can tell me where I've been going wrong.
Last edited by LockBot on Tue Feb 14, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Hardware Support”