Linux设置小红点键盘,debian linux上安装thinkpad小红点驱动/Installing Debian On Thinkpad – Trackpoint...

在debian wiki上看到一篇文章,英文的,thinkpad小红点驱动安装,看来debian果然不愧有这么好的声誉,内容确实丰富,一个小时前还看了它的中文安装说明文档,也太丰富了。考虑是否换有必要换成debian,fedora15太不稳定了,半年的版本生命周期,又从来没有直接升级成功,都是全新安装,再做设置,虽然/home下家目录可以保留不少设置,新安装后总是要做一些机械的工作,不爽。是否换成centos,或者debian/ubuntu,或许换centos改变相对小一点。

3f6d222fda5d1b68dda1459725c2cf9c.png

On most Thinkpads, Debian doesn’t enable scrolling with the Trackpoint by default.

Trackpoint scrolling on Lenny

In /etc/X11/xorg.conf, find the section named “Configured Mouse”, then follow the instruction :

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

#add those three lines

Option "EmulateWheel" "true"

Option "EmulateWheelTimeOut" "200"

Option "EmulateWheelButton" "2"

EndSection

Trackpoint scrolling on Etch

In /etc/X11/xorg.conf, find the section named “Configured Mouse”, then follow the instruction :

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

Option "CorePointer"

Option "Device" "/dev/input/mice"

Option "Protocol" "ImPS/2"

#Comment this line out

#Option "Emulate3Buttons" "true"

#add those three lines

Option "EmulateWheel" "true"

Option "EmulateWheelTimeOut" "200"

Option "EmulateWheelButton" "2"

EndSection

Trackpoint scrolling on Squeeze and later

GNOME

After installing GPointing Device Settings (package gpointing-device-settings), a new option “Pointing devices” appears in the GNOME settings menu. Select “TrackPoint” and check “Use wheel emulation”, select “button: 2”, and check “Enable vertical scroll” and “Enable horizontal scroll”.

xinput

Install package xinput and run the following commands:

$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1

$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2

$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5

hal and Xorg integration

(Note that HAL is deprecated and not installed by default on Squeeze.)

Create the file /etc/hal/fdi/policy/ibm_trackpoint.fdi containing:

true

2

true

200

Device identification

Device is a “TPPS/2 IBM TrackPoint”:

dmidecode -t 21reports

Built-in Pointing Device

Type: Track Point

Interface: PS/2

Buttons: 3

/proc/bus/input/devices contains:

I: Bus=0011 Vendor=0002 Product=000a Version=0000

N: Name="TPPS/2 IBM TrackPoint"

P: Phys=synaptics-pt/serio0/input0

S: Sysfs=/class/input/input12

U: Uniq=

H: Handlers=mouse2 event12

B: EV=7

B: KEY=70000 0 0 0 0 0 0 0 0

B: REL=3

See Also

from http://wiki.debian.org/InstallingDebianOn/Thinkpad/Trackpoint

延伸阅读coded by nessus

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值