snippetbashTip
gpm — Enable mouse support for the Linux virtual console. More information: <https://manned.org/gpm>.
Viewed 0 times
thesupportcommandgpmclimouseenablefor
linux
Problem
How to use the
gpm command: Enable mouse support for the Linux virtual console. More information: <https://manned.org/gpm>.Solution
gpm — Enable mouse support for the Linux virtual console. More information: <https://manned.org/gpm>.Start gpm with a PS/2 [m]ouse of [t]ype ps2:
sudo gpm -m /dev/input/mice -t ps2Start gpm with a Microsoft serial [m]ouse of [t]ype ms:
sudo gpm -m /dev/ttyS0 -t msStart gpm with a [m]ouse and [t]ype in the foreground for [D]ebugging:
sudo gpm -m {{path/to/mouse_device}} -t {{mouse_type}} -D[k]ill the running gpm:
sudo gpm -kStart gpm with a [m]ouse and [t]ype in [R]epeater mode for X server compatibility:
sudo gpm -m {{path/to/mouse_device}} -t {{mouse_type}} -RList the available mouse [t]ypes:
gpm -t helpCode Snippets
Start gpm with a PS/2 [m]ouse of [t]ype ps2
sudo gpm -m /dev/input/mice -t ps2Start gpm with a Microsoft serial [m]ouse of [t]ype ms
sudo gpm -m /dev/ttyS0 -t msStart gpm with a [m]ouse and [t]ype in the foreground for [D]ebugging
sudo gpm -m {{path/to/mouse_device}} -t {{mouse_type}} -D[k]ill the running gpm
sudo gpm -kStart gpm with a [m]ouse and [t]ype in [R]epeater mode for X server compatibility
sudo gpm -m {{path/to/mouse_device}} -t {{mouse_type}} -RContext
tldr-pages: linux/gpm
Revisions (0)
No revisions yet.