我的 Lenovo 16IAX7 运行 ubuntu 24.04 6.8.0-48-generic,其 GUI 触控板设置似乎不会影响滚动行为。(鼠标设置也不影响)。我使用的是 Gnome DE 和 Mutter WM。我已阅读了此处的帖子,但这似乎与我的情况并不完全相关,因为(例如)我没有看到自然滚动选项。我该如何让 GUI 正常工作,或者以其他方式运行自然滚动?
我经常在进行 10 指触摸打字时使用拇指通过触摸板控制光标。在 Windows 和 macOS 上,我可以配置单指滚动:如果按下某个热键,我将拇指在触摸板上移动,以向上、向下、向左和向右滚动。这很方便,因为我不需要移动整个手来进行 2 指滚动。
是否有可能以某种方式使用最新的 Ubuntu 桌面配置相同的行为?我知道“1 指边缘滚动”,但我希望在按下热键时对整个触摸板进行 1 指滚动,因为如果不将我的手从 10 指触摸打字位置移开,就很难到达触摸板边缘。
这款笔记本电脑的触控板周围共有 5 个按钮:触控板上方 3 个,下方 2 个。
以上三个分别映射为左键、中键和右键。
下面的左侧映射到中键单击,因此下面的肯定可以工作,这不是硬件问题。
我希望将下面的左右按钮映射为左键单击和右键单击,只是因为这就是我多年来使用笔记本电脑的方式。
我该如何在 Ubuntu 22.04 中执行此操作?
当我这样做时,xinput
我得到这个:
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:16 id=8 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:16 id=9 [slave keyboard (3)]
这似乎还不够投入。DConf 编辑器中似乎没有任何内容适用于这些按钮,甚至不知道这些按钮,但它们正在工作,因此它们必须可以以某种方式进行配置?
Ubuntu 20.04
我的笔记本电脑有触摸屏设备,可以实现触摸功能。我可以通过命令查看它的信息less /proc/bus/input/devices
。看起来像:
I: Bus=0018 Vendor=06cb Product=1a1b Version=0100
N: Name="06CB:00 06CB:1A1B"
P: Phys=i2c-06CB:00
S: Sysfs=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-06CB:00/0018:06CB:1A1B.0002/input/input14
U: Uniq=
H: Handlers=mouse2 event6
B: PROP=2
B: EV=1b
B: KEY=400 0 0 0 0 0
B: ABS=260800000000003
B: MSC=20
我可以通过查看触摸事件日志sudo cat /dev/input/event6
。所以我可以相信我的 ubuntu 20.04 对触摸屏有很好的支持。我希望lsusb
应该包括触摸屏设备信息。但事实并非如此。输出是:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 13d3:56f2 IMC Networks USB camera
Bus 001 Device 003: ID 8087:0026 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
我误解了什么吗?任何建议都会有所帮助。提前致谢。
我试过lspci
:
00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
00:14.0 USB controller: Intel Corporation Device 02ed
00:14.2 RAM memory: Intel Corporation Device 02ef
00:14.3 Network controller: Intel Corporation Wireless-AC 9462
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake Serial IO I2C Host Controller
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0)
00:1e.0 Communication controller: Intel Corporation Device 02a8
00:1e.3 Serial bus controller [0c80]: Intel Corporation Device 02ab
00:1f.0 ISA bridge: Intel Corporation Device 0284
00:1f.3 Audio device: Intel Corporation Device 02c8
00:1f.4 SMBus: Intel Corporation Device 02a3
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
似乎没有包括触摸屏设备。请问还有什么建议吗?谢谢~
我将我的 ubuntu 从 21.10 impish 切换到 22.04 jammy,这意味着要离开 x11 前往 Wayland。
我通过在我的.bashrc中完全禁用此行的中间单击来防止未经请求的选择粘贴或不需要的关闭选项卡:
xinput set-prop 'Synaptics TM3289-021' 'libinput Middle Emulation Enabled' 1
它在 x11 上运行良好。升级后,我收到此错误消息
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
无法找到设备 Synaptics TM3289-021
当我这样做时xinput list
,我没有拿到我的触摸板,而是
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:16 id=8 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:16 id=9 [slave keyboard (3)]
如何使用 Wayland 协议禁用中键?
如何降低触摸板的灵敏度?它太大了,所以当我打字时,从拇指向下延伸的手掌部分会刷触摸板,我会得到各种我不想要的手势: - 突出显示我目前正在输入的所有内容并删除
如果有人阅读本文可以在 Ideapad 或 Thinkpad 之间进行选择,请选择 Thinkpad。
我使用的是 Windows 11。我可以用 2 根手指在触摸板上进行缩放和删除。我使用 ubuntu 20.04 但现在我不能这样做。你能帮助我吗 ?有任何代码或应用程序吗?谢谢 :)
我在5.4.0-99-lowlatency
Thinkpad X260 上运行 Ubuntu 20.04(内核是 ,但通用内核上的问题是相同的)。触控板设备是“Synaptics TM3075-002”。
基本上,对于小的、精确的运动,触控板是抖动的,有时不会记录运动。
我已经尝试过两者libinput 1.19.901
和最新的xserver-xorg-input-synaptics
软件包。
光标移动,同时减慢我的手指在触控板上的移动速度libinput
:
光标移动,同时减慢我的手指在触控板上的移动速度synaptics
:
它更好,synaptics
但仍然跳跃。
这些是具有的属性libinput
:
Device 'Synaptics TM3075-002':
Device Enabled (168): 1
Coordinate Transformation Matrix (170): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (304): 1
libinput Tapping Enabled Default (305): 0
libinput Tapping Drag Enabled (306): 1
libinput Tapping Drag Enabled Default (307): 1
libinput Tapping Drag Lock Enabled (308): 0
libinput Tapping Drag Lock Enabled Default (309): 0
libinput Tapping Button Mapping Enabled (310): 1, 0
libinput Tapping Button Mapping Default (311): 1, 0
libinput Natural Scrolling Enabled (312): 0
libinput Natural Scrolling Enabled Default (313): 0
libinput Disable While Typing Enabled (314): 0
libinput Disable While Typing Enabled Default (315): 1
libinput Scroll Methods Available (316): 1, 1, 0
libinput Scroll Method Enabled (317): 1, 0, 0
libinput Scroll Method Enabled Default (318): 1, 0, 0
libinput Click Methods Available (319): 1, 1
libinput Click Method Enabled (320): 0, 1
libinput Click Method Enabled Default (321): 1, 0
libinput Middle Emulation Enabled (322): 0
libinput Middle Emulation Enabled Default (323): 0
libinput Accel Speed (324): 0.500000
libinput Accel Speed Default (325): 0.000000
libinput Left Handed Enabled (326): 0
libinput Left Handed Enabled Default (327): 0
libinput Send Events Modes Available (289): 1, 1
libinput Send Events Mode Enabled (290): 0, 0
libinput Send Events Mode Enabled Default (291): 0, 0
Device Node (292): "/dev/input/event15"
Device Product ID (293): 1739, 0
libinput Drag Lock Buttons (328): <no items>
libinput Horizontal Scroll Enabled (329): 1
并与synaptics
:
Device 'Synaptics TM3075-002':
Device Enabled (168): 1
Coordinate Transformation Matrix (170): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (301): 1
Device Accel Constant Deceleration (302): 2.500000
Device Accel Adaptive Deceleration (303): 1.000000
Device Accel Velocity Scaling (304): 12.500000
Synaptics Edges (305): 67, 1613, 54, 948
Synaptics Finger (306): 25, 30, 0
Synaptics Tap Time (307): 180
Synaptics Tap Move (308): 86
Synaptics Tap Durations (309): 180, 180, 100
Synaptics ClickPad (310): 1
Synaptics Middle Button Timeout (311): 0
Synaptics Two-Finger Pressure (312): 282
Synaptics Two-Finger Width (313): 7
Synaptics Scrolling Distance (314): 39, 39
Synaptics Edge Scrolling (315): 1, 0, 0
Synaptics Two-Finger Scrolling (316): 1, 0
Synaptics Move Speed (317): 1.000000, 1.750000, 0.102249, 0.000000
Synaptics Off (318): 0
Synaptics Locked Drags (319): 0
Synaptics Locked Drags Timeout (320): 5000
Synaptics Tap Action (321): 2, 3, 0, 0, 1, 3, 0
Synaptics Click Action (322): 1, 3, 0
Synaptics Circular Scrolling (323): 0
Synaptics Circular Scrolling Distance (324): 0.100000
Synaptics Circular Scrolling Trigger (325): 0
Synaptics Circular Pad (326): 0
Synaptics Palm Detection (327): 0
Synaptics Palm Dimensions (328): 10, 200
Synaptics Coasting Speed (329): 20.000000, 50.000000
Synaptics Pressure Motion (330): 30, 160
Synaptics Pressure Motion Factor (331): 1.000000, 1.000000
Synaptics Resolution Detect (332): 1
Synaptics Grab Event Device (333): 0
Synaptics Gestures (334): 1
Synaptics Capabilities (335): 1, 0, 0, 1, 1, 1, 0
Synaptics Pad Resolution (336): 20, 20
Synaptics Area (337): 0, 0, 0, 0
Synaptics Soft Button Areas (338): 840, 0, 821, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (339): 0, 0
Device Product ID (293): 1739, 0
Device Node (292): "/dev/input/event15"
我不确定我还能做什么。其他属性似乎对此没有影响(我禁用了噪音消除,synaptics
但不确定有多大帮助)。我应该尝试其他驱动程序吗?
我在华硕 TUF F15 FX506HM_FX566HM 上使用 Kubuntu 21.04。在“设置”中未检测到触摸板,在xinput
. 的输出xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Asus Wireless Radio Control id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ USB2.0 HD UVC WebCam: USB2.0 HD id=11 [slave keyboard (3)]
↳ Intel HID events id=12 [slave keyboard (3)]
↳ Intel HID 5 button array id=13 [slave keyboard (3)]
↳ Asus WMI hotkeys id=14 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]
的输出lspci
0000:00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
0000:00:01.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller #1 (rev 05)
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
0000:00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 05)
0000:00:06.0 System peripheral: Intel Corporation Device 09ab
0000:00:07.0 PCI bridge: Intel Corporation Tiger Lake-H Thunderbolt 4 PCI Express Root Port #0 (rev 05)
0000:00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 05)
0000:00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
0000:00:0d.0 USB controller: Intel Corporation Tiger Lake-H Thunderbolt 4 USB Controller (rev 05)
0000:00:0d.2 USB controller: Intel Corporation Tiger Lake-H Thunderbolt 4 NHI #0 (rev 05)
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
0000:00:14.0 USB controller: Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host Controller (rev 11)
0000:00:14.2 RAM memory: Intel Corporation Tiger Lake-H Shared SRAM (rev 11)
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-H Serial IO I2C Controller #0 (rev 11)
0000:00:16.0 Communication controller: Intel Corporation Tiger Lake-H Management Engine Interface (rev 11)
0000:00:1c.0 PCI bridge: Intel Corporation Device 43bf (rev 11)
0000:00:1d.0 PCI bridge: Intel Corporation Device 43b6 (rev 11)
0000:00:1f.0 ISA bridge: Intel Corporation Tiger Lake-H LPC/eSPI Controller (rev 11)
0000:00:1f.3 Audio device: Intel Corporation Tiger Lake-H HD Audio Controller (rev 11)
0000:00:1f.4 SMBus: Intel Corporation Tiger Lake-H SMBus Controller (rev 11)
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-H SPI Controller (rev 11)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
0000:01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
0000:2d:00.0 Network controller: MEDIATEK Corp. Device 7961
0000:2e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
10000:e0:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller #0 (rev 05)
10000:e1:00.0 Non-Volatile memory controller: SK hynix Device 174a
我将内核从 5.11 更新到 5.12.5 以修复此处提到的 wifi 并且 wifi 开始工作(重新启动后不起作用,但只能关闭),但触摸板没有。将内核更新到版本 5.13.1、5.13.2 和 5.13.4、5.13.6、5.14-rc2、5.14-rc3,但还没有工作。
为了让 Kubuntu 使用 synaptic 而不是 libinput(正如我在其他地方读到的),我安装xserver-xorg-input-synaptics
并删除了libinput
,但重新启动后,键盘和鼠标停止工作,所以我不得不再次安装 libinput。保持安装但增加突触的优先级(正如我在这里读到的)也无济于事。
还尝试通过添加i8042.reset
到这里GRUB_CMDLINE_LINUX_DEFAULT=
提到的修改 grub但不起作用。
我认为我的触摸板是 ELAN,因为我看到其他一些华硕触摸板问题(打开和关闭 askubuntu)与 Linux 提到 ELAN 并且目录/sys/bus/i2c/devices/
显示一个文件i2c-ELAN1203:00
。更多信息
$ cat /sys/bus/i2c/devices/i2c-ELAN1203\:00/name
ELAN1203:00
$ cat /sys/bus/i2c/devices/i2c-ELAN1203\:00/modalias
acpi:ELAN1203:PNP0C50:
查看 的输出dmesg
,我看到以下日志
[ 0.861200] genirq: Setting trigger mode 8 for irq 167 failed (intel_gpio_irq_type+0x0/0x130)
[ 0.862657] tigerlake-pinctrl INT34C6:00: pin 226 cannot be used as IRQ
[ 0.862658] genirq: Setting trigger mode 8 for irq 167 failed (intel_gpio_irq_type+0x0/0x130)
[ 0.862688] i2c_hid_acpi i2c-ELAN1203:00: Could not register for ELAN1203:00 interrupt, irq = 167, ret = -1
[ 0.862712] i2c_hid_acpi: probe of i2c-ELAN1203:00 failed with error -1
[ 0.876848] i915 0000:00:02.0: [drm] VT-d active for gfx access
其他论坛上报告的问题
我还有其他问题,例如蓝牙不工作和睡眠模式消耗大量电量在 6-8 小时内耗尽电池,但会为他们解决另一个问题。