crackcell's dustbin home projects
首页 > 解决Thinkpad CentOS 7 下鼠标中键滚动失效的问题 > 正文

解决Thinkpad CentOS 7 下鼠标中键滚动失效的问题

Table of Contents

1 解决办法

参考的这篇文章:http://www.iamgolfz.com/?p=403

  1. 创建配置文件:
    $ sudo nano /usr/share/X11/xorg.conf.d/20-thinkpad.conf
    
  2. 添加内容:

    Section "InputClass"
               Identifier"Trackpoint Wheel Emulation"
               MatchProduct"TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
               MatchDevicePath"/dev/input/event*"
               Option"EmulateWheel""true"
               Option"EmulateWheelButton""2"
               Option"Emulate3Buttons""false"
               Option"XAxisMapping""6 7"
               Option"YAxisMapping""4 5"
    EndSection

  3. 重启

Date: Mon Jan 30 00:59:20 2017

Author: Menglong TAN

Org version 7.9.3f with Emacs version 24

Validate XHTML 1.0

Modified theme and code from Tom Preston-Werner.