Console mouse support
GPM, short for General Purpose Mouse, is a daemon that provides mouse support for Linux virtual consoles.
Install the package. For touchpad support on a laptop you may also need to install .
-m parameter precedes the declaration of the mouse to be used. The
-t parameter precedes the type of mouse. To get a list of available types for the
-t option, run
# gpm -m /dev/input/mice -t help
/etc/conf.d/gpm, or used when running gpm directly. As of 2016, the
gpm.service file for systemd includes the parameters for a USB mice. Obviously, it should be edited if there is another mice type, and the file is used.
- 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"
GPM_ARGSand second button will perform the paste function.
For more information see.