![]() |
s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
8. Using gpm to Switch Mouse Modes
The main modes for serial mice under gpm are:
for Microsoft or MouseSystems modes, or to
probe the mouse for you and tell you what it found. To run gpm in
MouseSystems mode, you may need a
This will make gpm re-export the mouse data to a new device, called
/dev/gpmdata , which looks like a mouse to any other program.
Note that this device always uses the MouseSystems protocol.
You can then set your Xconfig to use this instead of /dev/mouse
as shown below, but of course you must ensure gpm is always running when
you use X. Some people have reported that some middle-button events
are not correctly interpreted by X using this technique, this may be
down to an individual mouse setup.
Changing button mapping for gpm and X ( gustafso@math.utah.edu)
You may find that gpm uses different default button mappings to X, so using both systems on the same machine can be confusing. To make X use the same buttons for select and paste operations as gpm, use the X command
which causes the left button to select and the right button to paste,
for either 2-button or 3-button mice.
To force gpm to use the X standard button mapping, start it with a
-B command, eg:
Next Previous Contents |