Difference between revisions of "Console mouse support"

From ArchWiki
Jump to: navigation, search
(use i18n template)
Line 2: Line 2:
 
[[Category:Other desktop user's resources (English)]]
 
[[Category:Other desktop user's resources (English)]]
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
 +
{{i18n|Console Mouse Support}}
 +
 
{{Article summary start|Summary}}
 
{{Article summary start|Summary}}
 
{{Article summary text|Installing and enabling the GPM daemon.}}
 
{{Article summary text|Installing and enabling the GPM daemon.}}
{{Article summary heading|Language}}
 
{{i18n_entry|English|Console Mouse Support}}
 
{{i18n_entry|Italiano|How to use a mouse in the console (Italiano)}}
 
{{i18n_entry|Русский|Как использовать мышь в консоли}}
 
{{i18n_entry|简体中文|在 console 中使用鼠标 (简体中文)}}
 
{{i18n_entry|Español|Como usar un mouse en la consola (Español)}}
 
<!--
 
 
{{Article summary heading|Related}}
 
{{Article summary heading|Related}}
{{Article summary wiki|}}
+
{{Article summary wiki|Daemon}}
-->
+
 
{{Article summary end}} __NOEDITSECTION__
 
{{Article summary end}} __NOEDITSECTION__
 +
 
GPM, short for General Purpose Mouse, is a daemon that provides mouse support for Linux virtual consoles. It is included in most Linux distributions.
 
GPM, short for General Purpose Mouse, is a daemon that provides mouse support for Linux virtual consoles. It is included in most Linux distributions.
  

Revision as of 00:47, 1 April 2010

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Summary help replacing me
Installing and enabling the GPM daemon.
Related
Daemon

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

Install Template:Package Official with pacman:

# pacman -S gpm

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.