summaryrefslogtreecommitdiff
path: root/xset.man
diff options
context:
space:
mode:
Diffstat (limited to 'xset.man')
-rw-r--r--xset.man12
1 files changed, 8 insertions, 4 deletions
diff --git a/xset.man b/xset.man
index 02cd87c..0377640 100644
--- a/xset.man
+++ b/xset.man
@@ -51,8 +51,8 @@ xset - user preference utility for X
.br
[fp default] [fp rehash]
.br
-[-led [\fIinteger\fP]]
-[+led [\fIinteger\fP]]
+[-led [\fIinteger\fP|named \fIindicator\fP]]
+[led [\fIinteger\fP|named \fIindicator\fP]]
.br
[led {on|off}]
.br
@@ -176,10 +176,14 @@ If no parameter or the 'on' flag is given, all LEDs are turned on.
If a preceding dash or the flag 'off' is given, all LEDs are turned off.
If a value between 1 and 32 is given, that LED will be turned on or off
depending on the existence of a preceding dash.
-A common LED which can be controlled is the ``Caps Lock'' LED. ``xset
-led 3'' would turn led #3 on. ``xset -led 3'' would turn it off.
+``xset led 3'' would turn led #3 on. ``xset -led 3'' would turn it off.
The particular LED values may refer to different LEDs on different
hardware.
+If the X server supports the XKEYBOARD (XKB) extension, leds may be
+referenced by the XKB indicator name by specifying the `named' keyword
+and the indicator name. For example, to turn on the Scroll Lock LED:
+.IP
+xset led named "Scroll Lock"
.PP
.TP 8
.B mouse