Do you have a Microsoft IntelliMouse or Logitech MouseMan Mouse? The following will guide you through the use of side buttons. If you use dapper Drake or later, skip these steps to read directly to the bottom section.
Step 1: Edit the configuration file:
&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;
Edit your/etc/x11/xf86config-4 or/etc/x11/xorg.conf file so that the mouse section looks as follows:
section "InputDevice"
Identifier "Configured Mouse"
Driver "Mouse"
Option "Corepointer"
Option "Device" "/dev/input/mice"
Option "Kyoto" "EXPLORERPS/2"
Option "Buttons" "7"
Option "Zaxismapping" "6 7"
Option "denotes" "100"
Endsection
Note that the 1:resolution (resolution) option is customized to control the accuracy of the mouse.
Note 2: This is also valid even if you use the Logitech MouseMan with only one thumb button.
Step 2: Install Imwheel
Now we need to use apt to install Imwheel:
$ sudo apt install imwheel
You can also find and install it with a new stand.
Step 3: Create the Imwheel configuration file:
Edit the file/ETC/X11/IMWHEEL/IMWHEELRC, using your favorite text editor, this example uses the nano:
$ sudo nano/etc/x11/imwheel/imwheelrc
and place this text in:
".*"
none,up,alt_l| Left
none,down,alt_l| Right
In your IMWHEELRC, you are not limited to using keyboard keys. For example, you can simulate a normal click by specifying a phrase "None, THUMB2, Button1" in your WHEELRC. If you add a duplicate parameter (that is, "None, THUMB2, Button1, 2"), you can easily simulate a double-click.