IBM 的中键不能用

CPU/显卡/打印机/USB设备等硬件问题
manfred
帖子: 8
注册时间: 2006-10-22 16:25

IBM 的中键不能用

#1

帖子 manfred » 2006-10-29 11:03

ibm的小红冒和左右键都可以用,就是中键没有办法用,感觉浏览网页的时候很不爽,哪位大哥可以提供他的驱动和安装方法啊?
头像
dxzmy
帖子: 167
注册时间: 2006-12-16 16:06
来自: DL
联系:

#2

帖子 dxzmy » 2007-01-04 21:25

我也想知道
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#3

帖子 eexpress » 2007-01-04 23:05

xorg.conf里面看mouse部分。贴。
● 鸣学
angel1127
帖子: 38
注册时间: 2006-12-16 1:58

可以用的,

#4

帖子 angel1127 » 2007-01-17 12:22

还有就是硬件,Thinkpad中间的那个scroll没法用,
在Thinkwiki上看到了,解决办法

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup
sudo gedit /etc/X11/xorg.conf

在gedit中,找到InputDevice部分中Configured Mouse
在EndScetion前增加:

Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"

如果想使用水平scroll增加:

Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"

注销,重新进入X,打开firefox试试,
真的ok....

in firefox about:config

改变以下选项的值:
mousewheel.horizscroll.withcontrolkey.action = 3;
mousewheel.horizscroll.withcontrolkey.numlines = 1;
mousewheel.horizscroll.withcontrolkey.sysnumlines = true;

mousewheel.horizscroll.withnokey.action = 0;
mousewheel.horizscroll.withnokey.numlines = 1;
mousewheel.horizscroll.withnokey.sysnumlines = true;

mousewheel.horizscroll.withshiftkey.action = 1;
mousewheel.horizscroll.withshiftkey.numlines = 1;
mousewheel.horizscroll.withshiftkey.sysnumlines = true;

可以解决水平移动 trackpoint 或 sroll 到顶部或底部 时的页面进近后退
angel1127
帖子: 38
注册时间: 2006-12-16 1:58

#5

帖子 angel1127 » 2007-01-17 12:23

http://angel1127.blogspot.com/
我的blog.有不少关于ubuntu使用的
大家有空可以去看看....
头像
dxzmy
帖子: 167
注册时间: 2006-12-16 16:06
来自: DL
联系:

#6

帖子 dxzmy » 2007-01-28 23:44

按照4楼的方法做了,可是依然不能用。
请问还有其他地方需要设置吗?多谢。
ubuntu 6.10+X31。
头像
dxzmy
帖子: 167
注册时间: 2006-12-16 16:06
来自: DL
联系:

#7

帖子 dxzmy » 2007-01-28 23:50

xorg.conf中的相关内容如下

代码: 全选

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
   Option "EmulateWheel" "true"           # newadd
   Option "EmulateWheelButton" "2"        # newadd
   Option "XAxisMapping" "6 7"            # newadd
   Option "YAxisMapping" "4 5"            # newadd
EndSection
另外问一下,在Windows中IBM的中键不但可以在网页浏览器中滚动,在文件窗口、Office等等也都是可以的。在Linux下也是一样吗?
hover
帖子: 48
注册时间: 2007-01-21 0:20

#8

帖子 hover » 2007-01-29 0:28

我用是IBM X60,先试试看
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#9

帖子 eexpress » 2007-01-29 0:43

代码: 全选

Option          "ZAxisMapping"          "4 5"
● 鸣学
头像
dxzmy
帖子: 167
注册时间: 2006-12-16 16:06
来自: DL
联系:

#10

帖子 dxzmy » 2007-01-29 2:04

eexpress 写了:

代码: 全选

Option          "ZAxisMapping"          "4 5"
还是不好用。
至少能不能想办法禁用中键的“点击链接后在新窗口打开”和“粘贴”这两个功能。我快被折磨死了。
多谢了。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#11

帖子 eexpress » 2007-01-29 9:00

这样设置还不行?那么保留这设置,然后xev试试中键的滚轮动作。
我的完整部分是这样的。希望次序有点关系能解决。

代码: 全选

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection
● 鸣学
头像
dxzmy
帖子: 167
注册时间: 2006-12-16 16:06
来自: DL
联系:

#12

帖子 dxzmy » 2007-01-29 12:44

eexpress 写了:这样设置还不行?那么保留这设置,然后xev试试中键的滚轮动作。
我的完整部分是这样的。希望次序有点关系能解决。

代码: 全选

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection
这个就跟我没修改之前的一样呀。
xorg.conf中的相关内容如下

代码:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"

Option "EmulateWheel" "true" # newadd
Option "EmulateWheelButton" "2" # newadd
Option "XAxisMapping" "6 7" # newadd
Option "YAxisMapping" "4 5" # newadd
EndSection


另外问一下,在Windows中IBM的中键不但可以在网页浏览器中滚动,在文件窗口、Office等等也都是可以的。在Linux下也是一样吗?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#13

帖子 eexpress » 2007-01-29 13:00

那你安装这个imwheel试试
● 鸣学
dreamyfish
帖子: 79
注册时间: 2007-01-29 11:24

#14

帖子 dreamyfish » 2007-02-01 16:42

dxzmy 写了:xorg.conf中的相关内容如下

代码: 全选

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
   Option "EmulateWheel" "true"           # newadd
   Option "EmulateWheelButton" "2"        # newadd
   Option "XAxisMapping" "6 7"            # newadd
   Option "YAxisMapping" "4 5"            # newadd
EndSection
另外问一下,在Windows中IBM的中键不但可以在网页浏览器中滚动,在文件窗口、Office等等也都是可以的。在Linux下也是一样吗?
今天回家重新开机之后发现~~~ 中键可以用了,我用的是T23,原来修改完xorg.conf文件之后不是注销重新登录来启用。。。 必须要重启X服务才行~~~
谢谢了
头像
dxzmy
帖子: 167
注册时间: 2006-12-16 16:06
来自: DL
联系:

#15

帖子 dxzmy » 2007-02-04 23:28

终于好用了。但是还想请教一下,如何取消中键的粘贴和单击后在新窗口打开的功能。
再次谢谢楼上各位。
回复