There are different stages where you can enable this, but best is to enable this everywhere.
-
Make sure that the UEFI or BIOS enables NumLock.
-
In
/etc/sddm.conf
, make sure that you have…
[General]
InputMethod=
Numlock=on
-
In KDE Plasma, open up System Settings and navigate to Hardware, Input Devices, Keyboard. There is a setting there for automatically turning on NumLock.
-
If you want NumLock to always be active in Plasma, even when it’s switched off — i.e. the indicator LED on the keyboard is off — then select the Advanced tab in the System Settings section referenced here-above, and tick the checkbox for “Compatibility Options”, “Numeric keypad always enters digits (as in macOS)”.
-
If you also want to enable NumLock in
tty
sessions, installsystemd-numlockontty
from the AUR.
pamac build systemd-numlockontty
sudo systemctl enable --now systemd-numLockOnTty