Ubuntu 8.10里指点杆中键模拟鼠标滚轮的配置方法
2009-04-02 15:36
465 查看
方法一:
创建文件:/etc/hal/fdi/policy/mouse-wheel.fdi
<match key="info.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
xorg.conf不用修改。
方法二:
先查看/var/log/Xorg.0.log,找到以下内容:
(**) TPPS/2 IBM TrackPoint: always reports core events
(**) TPPS/2 IBM TrackPoint: Device: "/dev/input/event8"
(II) TPPS/2 IBM TrackPoint: Found x and y relative axes
(II) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
(**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
(**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
可见设备已经识别,设备名称是/dev/input/event8,只是模拟鼠标滚轮的默认是第4键。所以修改/etc/X11/xorg.conf如下:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Device" "/dev/input/event8"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Inputdevice "Configured Mouse"
EndSection
和以前的方法不同一个是Device,mice不行了;另一个是Driver,现在是evdev。
创建文件:/etc/hal/fdi/policy/mouse-wheel.fdi
<match key="info.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
xorg.conf不用修改。
方法二:
先查看/var/log/Xorg.0.log,找到以下内容:
(**) TPPS/2 IBM TrackPoint: always reports core events
(**) TPPS/2 IBM TrackPoint: Device: "/dev/input/event8"
(II) TPPS/2 IBM TrackPoint: Found x and y relative axes
(II) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
(**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
(**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
可见设备已经识别,设备名称是/dev/input/event8,只是模拟鼠标滚轮的默认是第4键。所以修改/etc/X11/xorg.conf如下:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Device" "/dev/input/event8"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Inputdevice "Configured Mouse"
EndSection
和以前的方法不同一个是Device,mice不行了;另一个是Driver,现在是evdev。
相关文章推荐
- vmware 安装ubuntu时安装vmware tool解决方法,及使用鼠标滚轮的方法.
- ubuntu server14.04LTS下手动模拟DNS并配置虚拟主机以及配置过程遇到的问题的解决方法
- ubuntu鼠标滚轮方向修改方法(运动方向和滚轮滚动方向一致)
- vmware安装ubuntu时安装vmware tool解决方法,及使用鼠标滚轮的方法.
- vmware下面安装Ubuntu使用鼠标滚轮的方法
- 在Ubuntu中使用鼠标滚轮的配置
- vmware安装ubuntu时安装vmware tool解决方法,及使用鼠标滚轮的方法.
- ubuntu鼠标滚轮方向修改方法(运动方向和滚轮滚动方向一致)
- vmware下ubuntu安装vmware tool工具及使用鼠标滚轮的方法
- vmware下面安装Ubuntu使用鼠标滚轮的方法
- vscode在ubuntu下安装插件,同时配置python虚拟环境、ctrl+鼠标滚轮放大代码窗口设置
- 在Ubuntu下安装VMware Tools导致鼠标滚轮不能用的问题的解决方法
- 自制Ubuntu 8.10 LiveUSB的方法(可保存修改),并添加DOS工具箱及PE引导
- Ubuntu 9.04 最新版下载(附:U盘安装方法和配置方法)
- Ubuntu16.04 server下配置MySQL,并开启远程连接的方法
- ubuntu配置全局环境变量后开新shell变量无效的解决方法
- ubuntu下tinyos 安装配置 两种方法
- Ubuntu鼠标移到右边出不来的解决方法
- Eclipse在Ubuntu 9.10鼠标失效解决方法
- ubuntu鼠标右键没有打开终端选项解决方法