numlockx

Control the number lock key status in X11 sessions.

TLDR

Show the current number lock status

$ numlockx status
copy

Turn the number lock on

$ numlockx on
copy

Turn the number lock off

$ numlockx off
copy

Toggle the current state

$ numlockx toggle
copy

Copied to clipboard
free 100$ digital ocean credit