Turn on or off ScrollLock leds

From Linux Shell Scripting Tutorial - A Beginner's handbook
Jump to: navigation, search
← Turn on or off CapsLock ledsHomeDisplay KDE / GTK+ GUI dialog →

To turn on ScrollLock, use the setleds command as follows:

setleds -D +scroll

To turn off ScrollLock, enter:

setleds -D -scroll

Where,

  • -D : Change both the VT flags and their default settings.
  • +scroll : Clear ScrollLock.
  • -scroll : Set ScrollLock.

Note: At present, pressing the ScrollLock key (or ^S/^Q) stops/starts console output.

See also

← Turn on or off CapsLock ledsHomeDisplay KDE / GTK+ GUI dialog →