mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 01:58:28 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/linux/gpm
Normal file
33
tldr/linux/gpm
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 ps2`
|
||||
|
||||
- Start gpm with a Microsoft serial [m]ouse of [t]ype ms:
|
||||
|
||||
`sudo gpm -m /dev/ttyS0 -t ms`
|
||||
|
||||
- Start 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 -k`
|
||||
|
||||
- Start 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}} -R`
|
||||
|
||||
- List the available mouse [t]ypes:
|
||||
|
||||
`gpm -t help`
|
||||
Reference in New Issue
Block a user