如何在联想ThinkPad e531上使用Trackpoint但禁用触摸板


21

我有一台Lenovo ThinkPad e531笔记本电脑。该模型同时具有触摸板和跟踪点。我想使用Trackpoint,因为我以前的笔记本电脑已经习惯了Trackpoint,但是我也想禁用触摸板,以防止意外触摸它。

问题是,e531上没有专用的跟踪点按钮。

这是e530型号的图片:

e530

您可以看到它在触摸板上方有一个单独的按钮,可以在使用轨迹点时使用它们。

这是我的模型(e531)的图片:

e531

如您所见,没有按钮。只有触摸板。

我可以禁用触摸板(在“ 系统设置”>“鼠标和触摸板”中),并使用跟踪点在周围移动鼠标指针,但是无法单击。您可能会想到,这不是很有用。

我在想的是应该有一种方法可以禁用触摸板的鼠标运动功能,但仍保持可单击状态,以便将其用作轨迹桥的鼠标按钮。我的问题是,怎么做。

我认为可以使用该xinput实用程序来实现它,但是由于我不太熟悉它,我不知道该怎么做。有人可以在这里为我提供帮助,或者至少为我指明正确的方向吗?

这是xinput我机器上的输出:

~ > xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=14   [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:1025   id=15   [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)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated Camera                         id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                    id=13   [slave  keyboard (3)]

这是TrackPoint(设备14)属性的列表:

~ > xinput --list-props 14
Device 'TPPS/2 IBM TrackPoint':
        Device Enabled (133):   1
    Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (256): 0
    Device Accel Constant Deceleration (257):   1.000000
    Device Accel Adaptive Deceleration (258):   1.000000
    Device Accel Velocity Scaling (259):    10.000000
    Device Product ID (250):    2, 10
    Device Node (251):  "/dev/input/event13"
    Evdev Axis Inversion (404): 0, 0
    Evdev Axes Swap (406):  0
    Axis Labels (407):  "Rel X" (143), "Rel Y" (144)
    Button Labels (408):    "Button Left" (136), "Button Middle" (137), "Button Right" (138), "Button Wheel Up" (139), "Button Wheel Down" (140), "Button Horiz Wheel Left" (141), "Button Horiz Wheel Right" (142)
    Evdev Middle Button Emulation (409):    0
    Evdev Middle Button Timeout (410):  50
    Evdev Third Button Emulation (411): 0
    Evdev Third Button Emulation Timeout (412): 1000
    Evdev Third Button Emulation Button (413):  3
    Evdev Third Button Emulation Threshold (414):   20
    Evdev Wheel Emulation (415):    1
    Evdev Wheel Emulation Axes (416):   6, 7, 4, 5
    Evdev Wheel Emulation Inertia (417):    10
    Evdev Wheel Emulation Timeout (418):    200
    Evdev Wheel Emulation Button (419): 2
    Evdev Drag Lock Buttons (420):  0

这是触摸板(设备12)属性的列表:

~ > xinput --list-props 12
Device 'SynPS/2 Synaptics TouchPad':
    Device Enabled (133):   1
    Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (256): 1
    Device Accel Constant Deceleration (257):   2.500000
    Device Accel Adaptive Deceleration (258):   1.000000
    Device Accel Velocity Scaling (259):    12.500000
    Synaptics Edges (260):  1726, 4858, 1577, 3665
    Synaptics Finger (261): 25, 30, 256
    Synaptics Tap Time (262):   180
    Synaptics Tap Move (263):   192
    Synaptics Tap Durations (264):  180, 180, 100
    Synaptics ClickPad (265):   1
    Synaptics Tap FastTap (266):    0
    Synaptics Middle Button Timeout (267):  0
    Synaptics Two-Finger Pressure (268):    282
    Synaptics Two-Finger Width (269):   7
    Synaptics Scrolling Distance (270): 87, 87
    Synaptics Edge Scrolling (271): 0, 0, 0
    Synaptics Two-Finger Scrolling (272):   1, 0
    Synaptics Move Speed (273): 1.000000, 1.750000, 0.045725, 40.000000
    Synaptics Edge Motion Pressure (274):   30, 160
    Synaptics Edge Motion Speed (275):  1, 349
    Synaptics Edge Motion Always (276): 0
    Synaptics Off (277):    0
    Synaptics Locked Drags (278):   0
    Synaptics Locked Drags Timeout (279):   5000
    Synaptics Tap Action (280): 2, 3, 0, 0, 1, 3, 0
    Synaptics Click Action (281):   1, 3, 0
    Synaptics Circular Scrolling (282): 0
    Synaptics Circular Scrolling Distance (283):    0.100000
    Synaptics Circular Scrolling Trigger (284): 0
    Synaptics Circular Pad (285):   0
    Synaptics Palm Detection (286): 0
    Synaptics Palm Dimensions (287):    10, 200
    Synaptics Coasting Speed (288): 20.000000, 50.000000
    Synaptics Pressure Motion (289):    30, 160
    Synaptics Pressure Motion Factor (290): 1.000000, 1.000000
    Synaptics Resolution Detect (291):  1
    Synaptics Grab Event Device (292):  1
    Synaptics Gestures (293):   1
    Synaptics Capabilities (294):   1, 0, 0, 1, 1, 1, 1
    Synaptics Pad Resolution (295): 42, 42
    Synaptics Area (296):   0, 0, 0, 0
    Synaptics Soft Button Areas (297):  3292, 0, 3397, 0, 0, 0, 0, 0
    Synaptics Noise Cancellation (298): 8, 8
    Device Product ID (250):    2, 7
    Device Node (251):  "/dev/input/event6"

您最好从标准的ubuntu存储库安装gpointing-device-settings
thom

是的,我有,但是我认为这不能帮助我。看来我可以完全禁用触摸板,也可以禁用轻敲,这些都不是我想要的。
亚当,2013年


我找到了一个可能有效的工具:mousetweaks(在存储库中)它允许您保留触摸板的一部分以用作按钮....据我所知,您可以保留所有的触摸板。
2013年

Answers:


14

@thom评论的摘要,我这样做是为了使其工作:

  1. 打开文件/usr/share/X11/xorg.conf.d/50-synaptics.conf进行编辑。
  2. 查找Section "InputClass"以下行Identifier "Default clickpad buttons"
  3. SoftButtonAreas值的编辑选项64% 0 1 42% 36% 64% 1 42%,这是右键和中间按钮的大小。
  4. 启用选项AreaBottomEdge并将值更改为1,这将禁用触摸板移动。

    如果一切正常,您的课程应如下所示:

    Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "64% 0 1 42% 36% 64% 1 42%"
        Option "AreaBottomEdge" "1"
    EndSection
    
  5. 保存文件并重新登录。

我使用S440 btw,但是我认为这对于使用无按钮触摸板的所有型号都适用。


2
您是否知道如何使用TrackPoint启用垂直滚动?试图激活ScrollVheelEmulation,但到目前为止没有任何效果。(thinkwiki.org/wiki/How_to_configure_the_TrackPoint#Scrolling
马可

2
@Marco这个问题似乎需要适当的修补和重建,到目前为止,我仅在Arch Linux中才看到它(aur.archlinux.org/packages/xf86-input-evdev-trackpoint)。目前,我们等待。(您可能想要订阅此跟踪器bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug / ...)。
neizod 2014年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.