Difference between revisions of "Console mouse support"

From ArchWiki
Jump to: navigation, search
m (fx tmpl)
m (temporarily adding noeditsecion until more sections are made)
Line 14: Line 14:
 
{{Article summary wiki|}}
 
{{Article summary wiki|}}
 
-->
 
-->
{{Article summary end}}
+
{{Article summary end}} __NOEDITSECTION__
 
'''GPM''', short for ''g''eneral ''p''urpose ''m''ouse, is a daemon that provides mouse support for Linux virtual consoles. It is included in most Linux distributions.
 
'''GPM''', short for ''g''eneral ''p''urpose ''m''ouse, is a daemon that provides mouse support for Linux virtual consoles. It is included in most Linux distributions.
  

Revision as of 04:56, 21 December 2009

Summary help replacing me
Installing and enabling the GPM daemon.
Language

Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry

GPM, short for general purpose mouse, is a daemon that provides mouse support for Linux virtual consoles. It is included in most Linux distributions.

Installing

Template:Codeline provides console mouse support:

# pacman -S 

Configuring

The Template:Codeline parameter precedes the declaration of the mouse to be used. The Template:Codeline parameter precedes the type of mouse. To get a list of available types for the Template:Codeline option, run gpm with Template:Codeline.

$ gpm -m /dev/input/mice -t help

If the mouse only has 2 buttons, pass Template:Codeline to Template:Codeline and button-2 will preform the paste function.

The gpm package needs to be started with a few parameters. These parameters can be added in the file Template:Filename or used when running gpm directly.

  • For PS/2 mice, replace the existing line with:
GPM_ARGS="-m /dev/psaux -t ps2"
  • Whereas USB mice should use:
GPM_ARGS="-m /dev/input/mice -t imps2"
  • And IBM Trackpoints need:
GPM_ARGS="-m /dev/input/mice -t ps2"

Once a suitable configuration has been found, adding Template:Codeline into the Template:Codeline array in Template:Filename will make Template:Codeline load at boot. Example:

DAEMONS=(syslog-ng gpm network netfs crond)

For more information see Template:Codeline.