|
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 Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |