mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
0de1a1d0a7
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
25 lines
398 B
Markdown
25 lines
398 B
Markdown
# setleds
|
|
|
|
> Set lock key and LED states.
|
|
> More information: <https://manned.org/setleds>.
|
|
|
|
- Print current key and LED states:
|
|
|
|
`setleds`
|
|
|
|
- Turn a lock key and its LED off:
|
|
|
|
`setleds -{{num|caps|scroll}}`
|
|
|
|
- Turn a lock key and its LED on:
|
|
|
|
`setleds +{{num|caps|scroll}}`
|
|
|
|
- Unpair key and LED states and only set the LED:
|
|
|
|
`setleds -L {{+scroll}}`
|
|
|
|
- Restore key and LED pairing:
|
|
|
|
`setleds -L`
|