Difference between revisions of "Console mouse support"

From ArchWiki
Jump to: navigation, search
m
m
Line 41: Line 41:
  
 
[[Category:Daemons and system services (English)]]
 
[[Category:Daemons and system services (English)]]
[[Category:Mouse]]
+
[[Category:Other desktop user's resources (English)]]
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]

Revision as of 00:10, 20 October 2009

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n links end

To use your mouse in the console, you need the gpm package. Get it with:

# pacman -S gpm

To use it, you can load gpm from the Template:Filename file, adding it to the DAEMONS line. Here is an example of this line, including gpm:

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond gpm)

The gpm package needs to be started with a few parameters. These parameters can be added in the file Template:Filename. Here is an example of the content of the file:

#
# Parameters to be passed to gpm
#
GPM_ARGS="-m /dev/psaux -t imps2"

The Template:Codeline parameter precedes the declaration of the mouse to be used. The Template:Codeline parameter precedes the type of mouse you are using (An IBM PS/2 mouse in this case). To get a list of available types for the Template:Codeline option, run gpm with Template:Codeline.

$ gpm -m /dev/psaux -t help


For more info see Template:Codeline.