我在新的联想 z580 笔记本电脑上安装了 Ubuntu 12.04。触摸板制造商是 Synaptics。然而,Ubuntu 无法加载 Synaptics 驱动程序,尽管该驱动程序已安装。因此,我无法在触摸板上使用滚动功能。命令
synclient-l
返回:
找不到 synaptics 属性。没有加载 synaptics 驱动程序?
请帮忙。
答案1
如果此帖子中之前的想法都不起作用,请尝试此方法
在终端中输入:xinput
你应该得到类似这样的结果:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=14 [slave pointer (2)]
⎜ ↳ MOSART Semi. 2.4G Wireless Mouse id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ USB Camera id=11 [slave keyboard (3)]
↳ Asus WMI hotkeys id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
找到您的触摸板,我的触摸板叫做“ETPS/2 Elantech Touchpad”(在第三行)。
现在,完成此操作后,输入:xinput --list-props "whatever your touchpad is called
打印设备 xinput 属性
例如我的是nathan@linux-engine:~$ xinput --list-props "ETPS/2 Elantech Touchpad"
Device 'ETPS/2 Elantech Touchpad':
Device Enabled (135): 1
Coordinate Transformation Matrix (137): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (263): 1
Device Accel Constant Deceleration (264): 2.500000
Device Accel Adaptive Deceleration (265): 1.000000
Device Accel Velocity Scaling (266): 12.500000
Synaptics Edges (288): 123, 2974, 114, 2005
Synaptics Finger (289): 1, 1, 0
Synaptics Tap Time (290): 180
Synaptics Tap Move (291): 165
Synaptics Tap Durations (292): 180, 180, 100
Synaptics ClickPad (293): 1
Synaptics Middle Button Timeout (294): 0
Synaptics Two-Finger Pressure (295): 282
Synaptics Two-Finger Width (296): 7
Synaptics Scrolling Distance (297): 75, 75
Synaptics Edge Scrolling (298): 0, 0, 0
Synaptics Two-Finger Scrolling (299): 1, 1
Synaptics Move Speed (300): 1.000000, 1.750000, 0.053305, 0.000000
Synaptics Off (301): 0
Synaptics Locked Drags (302): 0
Synaptics Locked Drags Timeout (303): 5000
Synaptics Tap Action (304): 2, 3, 0, 0, 1, 3, 0
Synaptics Click Action (305): 1, 3, 0
Synaptics Circular Scrolling (306): 0
Synaptics Circular Scrolling Distance (307): 0.100000
Synaptics Circular Scrolling Trigger (308): 0
Synaptics Circular Pad (309): 0
Synaptics Palm Detection (310): 0
Synaptics Palm Dimensions (311): 10, 200
Synaptics Coasting Speed (312): 20.000000, 50.000000
Synaptics Pressure Motion (313): 30, 160
Synaptics Pressure Motion Factor (314): 1.000000, 1.000000
Synaptics Resolution Detect (315): 1
Synaptics Grab Event Device (316): 1
Synaptics Gestures (317): 1
Synaptics Capabilities (318): 1, 0, 0, 1, 1, 1, 1
Synaptics Pad Resolution (319): 32, 31
Synaptics Area (320): 0, 0, 0, 0
Synaptics Soft Button Areas (321): 1548, 0, 1737, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (322): 18, 18
Device Product ID (255): 2, 14
Device Node (256): "/dev/input/event5"
仔细查找“双指滚动”。例如,我的是Synaptics Two finger scrolling (299)
。如果该行中的值不是1, 1
,那么就对了!
用以下方法修复它:xinput --set-prop "touchpad name" "scrolling option" 1 1
。
再次以我为例:nathan@linux-engine:~$ xinput --set-prop "ETPS/2 Elantech Touchpad" "Synaptics Two-Finger Scrolling" 1 1
。
结果应该是即时的,但只是暂时的。在文件的某个地方(大概在末尾)添加 xinput 命令(仅最后一个),/home/<you>/.bashrc
当您进入会话(或打开终端)时,该命令会自动运行。
答案2
您是否已在“设置”中检查过鼠标和触摸板设置。禁用双指滚动并禁用自然滚动。希望这能解决滚动问题
答案3
去系统设置(从破折号处搜索) >鼠标和触摸板
启用双指滚动和自然滚动(或根据你的需要进行配置)
如果我找到适用于 Ubuntu 的类似 synaptics 功能的触摸板驱动程序(如在 Windows 中),我将更新此帖子
希望这能有所帮助
答案4
对于 Lubuntu 18.04 LTS,戴尔 Latitude 3540 上的触摸板可以工作,但只能用作基本鼠标。我不得不发出modprobe psmouse以便将其激活为触摸板,进行双指滚动等。但是,它没有 GUI 配置选项,因此/etc/X11/xorg.conf.d/70-synaptics.conf必须手动编辑。