Ubuntu下调教ThinkPad 2014年系列的触摸屏

来源:互联网 发布:nginx 缓存原理 编辑:程序博客网 时间:2024/06/11 21:52

一直是ThinkPad的粉丝,但是2014年版的X1 Carbon (第二代)真的不敢让人恭维。与第一代相比,机子明显薄了许多,多了个视频输出借口,电池也经用多了,但是一直喜欢的小黑的键盘和触摸却被毁了。。多了一条相当难用的触摸条条,后退与DEL键居然合在了一起!CAP键没了!触摸板居然没有右键!!

触摸版非常不好用。。。右键按不出来,左键按的时候鼠标会乱动。。在Win下装个驱动应该好很多。但是在Ubuntu下还真不知道怎么弄。。

搜了一下,贴解决方案如下。

修改/usr/share/X11/xorg.conf.d/50-synaptic.conf文件如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section"InputClass"
        Identifier"touchpad catchall"
        Driver"synaptics"
        MatchIsTouchpad"on"
    # disable synaptics driver pointer acceleration
        Option"MinSpeed" "1"
        Option"MaxSpeed" "1"
        # tweak the X-server pointer acceleration
        Option"AccelerationProfile" "2"
        Option"AdaptiveDeceleration" "16"
        Option"ConstantDeceleration" "16"
        Option"VelocityScale" "32"
    Option"TapButton1" "1"     # left click with one finger tap
        Option"TapButton2" "3"     # right click with two finger tap
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
#http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
      MatchDevicePath"/dev/input/event*"
EndSection
 
Section"InputClass"
        Identifier"touchpad ignore duplicates"
        MatchIsTouchpad"on"
        MatchOS"Linux"
        MatchDevicePath"/dev/input/mouse*"
        Option"Ignore" "on"
EndSection
 
# This option enables the bottom right corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.
Section"InputClass"
        Identifier"Default clickpad buttons"
        MatchDriver"synaptics"
        Option"SoftButtonAreas" "60% 0 0 5% 40% 60% 0 5%"
#       To disable the bottom edge area so the buttons only work as buttons,
#       not for movement, set the AreaBottomEdge
        Option"AreaTopEdge" "4%"
EndSection
 
# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section"InputClass"
        Identifier"Disable clickpad buttons on Apple touchpads"
        MatchProduct"Apple|bcm5974"
        MatchDriver"synaptics"
        Option"SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
重启下就好。适用于Ubuntu 13.10和14.04。其他的没试。

现在明显感觉触摸版好用了许多!但是键盘还是很囧。。唉,还是等2015年的第三代吧,貌似联想脑子清醒了下又改回设计了。。

PS: X240的键盘真的很好用!!解决触摸板问题之后操作相当的舒适。

0 0
原创粉丝点击