Informações da última versão: Ubuntu Linux 20.10 - Groovy Gorilla
sudo apt-get updatesudo apt-get -y install numlockxsudo sed -i 's|^exit 0.*$|# Numlock enable\n[ -x /usr/bin/numlockx ] \&\& numlockx on\n\nexit 0|' /etc/rc.local