numlockx

Control the number lock key status in X11 sessions. More information: <http://www.mike-devlin.com/linux/README-numlockx.htm>.

Install

All systems
curl cmd.cat/numlockx.sh
Debian Debian
apt-get install numlockx
Ubuntu
apt-get install numlockx
Arch Arch Linux
pacman -S numlockx
image/svg+xml Kali Linux
apt-get install numlockx
Fedora
dnf install numlockx
Windows (WSL2)
sudo apt-get update sudo apt-get install numlockx
Raspbian
apt-get install numlockx

Control the number lock key status in X11 sessions. More information: <http://www.mike-devlin.com/linux/README-numlockx.htm>.

  • Show the current number lock status:
    numlockx status
  • Turn the number lock on:
    numlockx on
  • Turn the number lock off:
    numlockx off
  • Toggle the current state:
    numlockx toggle

© tl;dr; authors and contributors