全部博文(132)
分类: LINUX
2009-02-06 20:18:49
This article should be included in the Support Database! This article should be polished to adhere to the , and then moved to the . |
What it does?
It does the same as any mouse driver and more. It will read mouse events, moves and clicks, and give that information to applications. For instance you can copy and paste text from anywhere on the screen to command line by highlighting the text and pressing middle button. Useful if you want to skip typing of very long file names like openSUSE iso images, for instance.
It has many drivers included, so it will work with almost any mouse on the market.
The most important parameter is
gpm -k
that will stop running mouse server. Don't laugh, before you start car, you should know where is the brake. When you miss some parameter and you can't see the mouse cursor on the screen, than you have to stop gpm, edit command line, and start it again.
To see list of mouse types that are supported with -t parameter
gpm -t help
Short help list
gpm -h
More about other parameters you can find in the gpm . Open and type:
man gpm
gpm -m /dev/input/mice -t exps2
gpm -m /dev/input/mice -t exps2 -d -a 3
: |