mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 04:58:52 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/showkey
Normal file
29
tldr/linux/showkey
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user