mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 04:55:40 +02:00
showkey: add page (#12550)
* showkey v1 * added sudo * showkey: add page * showkey: add page Fixed build test errors * Apply suggestions from code review - Imperative mood - ctrl +d - added long options - changed key-caps in accordance to style guide Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/linux/showkey.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
parent
642aa3fdf7
commit
1ecf4c52ff
1 changed files with 24 additions and 0 deletions
24
pages/linux/showkey.md
Normal file
24
pages/linux/showkey.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# showkey
|
||||
|
||||
> Display the keycode of pressed keys on the keyboard, helpful for debugging keyboard-related issues and key remapping.
|
||||
> More information: <https://manned.org/showkey>.
|
||||
|
||||
- View keycodes in decimal:
|
||||
|
||||
`sudo showkey`
|
||||
|
||||
- Display [s]cancodes in hexadecimal:
|
||||
|
||||
`sudo showkey {{-s|--scancodes}}`
|
||||
|
||||
- Display [k]eycodes in decimal (default):
|
||||
|
||||
`sudo showkey {{-k|--keycodes}}`
|
||||
|
||||
- Display keycodes in [a]SCII, decimal, and hexadecimal:
|
||||
|
||||
`sudo showkey {{-a|--ascii}}`
|
||||
|
||||
- Exit the program:
|
||||
|
||||
`Ctrl + d`
|
Loading…
Add table
Reference in a new issue