Chinaunix首页 | 论坛 | 博客
  • 博客访问: 646665
  • 博文数量: 780
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 4885
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-22 16:14
文章分类

全部博文(780)

文章存档

2008年(780)

我的朋友

分类: LINUX

2008-08-22 16:23:09


我的双飞燕鼠标的边键在firefox下无法前进后退,很不方便。查一下xorg.confmultibuttons大概步骤如下:

1.sudoapt-getinstallimwheel

2.修改一下xorg.conf的配置。sudogedit/etc/X11/xorg.conf

Section"InputDevice"
Identifier"ConfiguredMouse"
Driver"mouse"
Option"CorePointer"
Option"Device""/dev/input/mice"
Option"Protocol""ExplorerPS/2"
Option"Buttons""7"
Option"ZAxisMapping""45"
Option"ButtonMapping""12367"
EndSection

protocol改为"ExplorerPS/2"
buttons改为7,原来为5

3.修改imwheel自动在图形的时候启动

sudovi/etc/X11/imwheel/startup.conf

#Setthisto"1"tomakeimwheelstartalongwithyourXsession.
IMWHEEL_START=1

#这一行把注释去掉
IMWHEEL_PARAMS=''-b"0089"''

4.sudovi/etc/X11/imwheel/imwheelrc

增加下面两行,为了定制在firefox里向前向后的功能。
"^firefox$"
None,Thumb1,Alt_L|Left
None,Thumb2,Alt_L|Right

退出登录,再ctrl alt 退格键重启gnome.再进来,打开firefox,边上的向前向后键就启作用了。 下载本文示例代码
阅读(279) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~