Name:Setleds
Permission: Average user
Usage:
Setleds [-v] [-L] [-D] [-F] [{+ |-} num] [{+ |-} caps] [{+ |-} scroll] Note:
Used to set the status of three LEDs on the top of the keyboard. In Linux, each virtual console has its own settings.
Parameters:
-F
Preset options to set the status of the virtual console.
-D
In addition to changing the status of the virtual console, the preset status is also changed.
-L
The status of the virtual console is not changed, but the status of the LED is directly changed. This will make the LDE display and the status of the current virtual console do not match. We can use the setleds command-L and without other options to return to the normal state later.
-Num + num
Turn the number key on or off.
-Caps + caps
Enable or disable the case key.
-Scroll + scroll
Enable or disable the option key.
Example:
Turn on the number key and turn off the remaining two lights.
# Setleds + num-caps-scroll