我的双飞燕鼠标的边键在firefox下无法前进后退,很不方便。查一下xorg.conf multibuttons 大概步骤如下:
1. sudo apt-get install imwheel
2. 修改一下xorg.conf的配置。sudo gedit /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
protocol 改为"ExplorerPS/2"
buttons 改为7,原来为5
3. 修改imwheel自动在图形的时候启动
sudo vi /etc/X11/imwheel/startup.conf
# Set this to "1" to make imwheel start along with your X session.
IMWHEEL_START=1
4. sudo vi /etc/X11/imwheel/imwheelrc
增加下面两行,为了定制在firefox里向前向后的功能。
"^firefox$"
None, Left, Alt_L|Left
None, Right, Alt_L|Right
退出登录,再ctrl+alt+退格键重启gnome. 再进来,打开firefox,边上的向前向后键就启作用了。
注:
几个常用的命令能帮助检测按键的编号
#xev
#imwheel -c
点grab wheel action,然后滚动鼠标,会显示buttion的编号以及在imwheel里的可以使用的名字,如Left,Right
Reference:
Configure Multibutton Mice
http://book.opensourceproject.org.cn/distrib/ubuntu/hacks/opensource/0596527209/i-0596527209-chp-5-sect-1.html
分享到:
相关推荐
Ubuntu 7.10安装教程,Ubuntu 7.10安装教程
嵌入式开发-ubuntu 7.10安装配置教程
虚拟机中 为 ubuntu7.10 安装 VMware-Tools
详细介绍Linux ubuntu7.10的硬盘安装,全是图解,帮你一步一步实现自己的Linux梦想!并且会了7.10,那以后版本的安装也不成问题!
可以硬盘安装ubuntu7.10的引导文件,压缩包中包括了vmlinuz和initrd.gz,注意只能用来安装alternate,不适用于desktop,经本人试验可以成功安装ubuntu7.10和ubuntustudio7.10,其他衍生版估计也可以
Ubuntu 7.10 Linux Unleashed
ubuntu 7.10安装及基本设置 博文链接:https://mqzsweet.iteye.com/blog/149848
基于Ubuntu7.10的minigui开发包
硬盘安装Ubuntu7.10.chm硬盘安装Ubuntu7.10.chm硬盘安装Ubuntu7.10.chm硬盘安装Ubuntu7.10.chm硬盘安装Ubuntu7.10.chm硬盘安装Ubuntu7.10.chm
Ubuntu 7.10 Linux 揭秘,学习Ubuntu 7.10 Linux的好资料
Ubuntu 7.10 vivim 搭建超级 C/C++ 编程环境 以下是根据提供的文件信息生成的相关知识点: 标题:Ubuntu 7.10 vivim 搭建超级 C/C++ 编程环境 描述:使用 Ubuntu 7.10 和 vi/vim 搭建超级 C/C++ 编程环境,讨论了...
ubuntu-7.10-jeos-i386最小的精简版系统,针对虚拟机进行优化,只有151M大小,完整一个包下载,不是分卷
Welcome to Ubuntu 7.10 Linux Unleashed! This book covers the free Linux distribution named Ubuntu and includes a fully functional and complete operating system produced by the Ubuntu Community, ...
共计3卷,全下载后,一起...Ubuntu.最小精简版].ubuntu-7.10-jeos-i386[ED2000.COM].part1 Ubuntu.最小精简版].ubuntu-7.10-jeos-i386[ED2000.COM].part2 Ubuntu.最小精简版].ubuntu-7.10-jeos-i386[ED2000.COM].part3
相关BIND9资料 博文链接:https://mqzsweet.iteye.com/blog/149843
本教程教你如何通过vmware将ubuntu装在物理硬盘上,进而通过修改引导开机启动