How to set up Microsoft mouse in Linux system

  
                

Using a Microsoft mouse under Windows is very simple. The Microsoft mouse has 5 buttons. How do you use a Microsoft mouse under Linux? The following small series will introduce you how to configure the Microsoft mouse under Linux.

Although the use linux opinion of the majority of Microsoft's unpleasant, but you can not deny that Microsoft is indeed a lot of good things that way, such as Microsoft mouse (IE series) icon_smile.gif IE 2.0 and above versions There are 5 buttons, in addition to the normal left, right, and right, there is also one on each side. It is convenient to support the forward/backward function of the browser in windows. In fact, in Linux, a little configuration can also accomplish the same function, why not?

(1) Explain the handling of mouse buttons and scroll wheels in Linux.

In linux, the scroll wheel is treated as two buttons, one for scrolling up and one for scrolling down. So take IE2.0 as an example, there are 7 buttons: three in the left, three in the right, one on each side, plus two on the wheel.

(2) Modify X configuration

First of all, we consider that your machine has only one mouse, because my experiment is carried out on IBM laptop, Microsoft mouse is my second Mouse (don't forget, there is one more notebook), this more than one situation is a bit complicated, and will be described later.

The configuration file to be modified is /etc/X11/XF86Config, or /etc/X11/XF86Config-4. If both are changed, change the second one.

Find a section about the mouse, which is generally the following.

Code:

The code is as follows:

Section InputDevice

Identifier Mouse0

Driver mouse

Option Device /Dev/mouse

Option Protocol IMPS/2

Option Emulate3buttons no

Option ZAxisMapping 4 5

Option Buttons 5

EndSection< Br>

The machine in the Identifier and Device fields will be different, we don't care about it. We need to modify other fields, the modified configuration is as follows:
Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved