GPM (“General Purpose Mouse”) software provides support for mouse devices in Linux virtual consoles. This package provides a daemon that captures mouse events when the system console is active and delivers events to applications through a library. By default, the daemon provides a ‘selection’ mode, in order that cut-and-paste with the mouse works on the console even as it does under X. It is used to select the text, drag the mouse while holding the left button, or to paste text within the same or another console, press the center button. The right button is employed to increase the choice. Two-button mice use the right button to paste the text.

Installation:

It is included in most Linux distributions, but in case it is not, then run this command to install gpm.

sudo apt-get install gpm

Syntax:

sudo gpm [options]

#linux-unix #linux-command #linux-system-commands #picked

gpm Command in Linux with Examples
3.05 GEEK