安装 numlockx:

1
yay -S numlockx

打开 /etc/lightdm/lightdm.conf,加入以下内容:

1
2
[Seat:*]
greeter-setup-script=/usr/bin/numlockx on

这样就好了!