我正在通过 Nomachine NX 从运行 macOS 10.15.7 的 MacBook Pro 访问 CentOS 8 VM(VMware)。在 Wayland 上运行 Gnome 3.32.2。
双指滚动适用于垂直滚动,但不适用于水平滚动。我已设置org.gnome.desktop.peripherals.touchpad two-finger-scrolling-enabled true
。gnome-tweaks
没有提供此项设置。
我已经设置了org.gnome.desktop.peripherals.touchpad click-method 'areas'
允许在触摸板中下部点击转换为鼠标中键,在右下部点击转换为鼠标右键单击。这不起作用。我也通过 gnome-tweaks 设置了它。
$ gsettings list-recursively org.gnome.desktop.peripherals.touchpad
org.gnome.desktop.peripherals.touchpad send-events 'enabled'
org.gnome.desktop.peripherals.touchpad natural-scroll false
org.gnome.desktop.peripherals.touchpad tap-to-click false
org.gnome.desktop.peripherals.touchpad two-finger-scrolling-enabled true
org.gnome.desktop.peripherals.touchpad left-handed 'mouse'
org.gnome.desktop.peripherals.touchpad click-method 'areas'
org.gnome.desktop.peripherals.touchpad speed 0.0
org.gnome.desktop.peripherals.touchpad tap-and-drag true
org.gnome.desktop.peripherals.touchpad edge-scrolling-enabled true
org.gnome.desktop.peripherals.touchpad disable-while-typing true
# libinput list-devices
...
Device: VirtualPS/2 VMware VMMouse
Kernel: /dev/input/event3
Group: 3
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: n/a
Calibration: n/a
Scroll methods: button
Click methods: none
Disable-w-typing: n/a
Accel profiles: flat *adaptive
Rotation: n/a
Device: VirtualPS/2 VMware VMMouse
Kernel: /dev/input/event2
Group: 3
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: identity matrix
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: NoMachine Input Device
Kernel: /dev/input/event5
Group: 4
Seat: seat0, default
Capabilities: keyboard 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: identity matrix
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: NoMachine Input Device
Kernel: /dev/input/event6
Group: 5
Seat: seat0, default
Capabilities: keyboard 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: identity matrix
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
答案1
解决方案是关闭 MacBook 上的自然滚动(首选项 -> 触控板 -> 滚动方向:自然)。