Activate numlockx at login

Ubuntu-mate 18.10 How to activate numlockx before login
Want to use to login my password containing two number along with lowercase letters

What do you have in /etc/lightdm/slick-greeter.conf?

It’s a text file, you can display it with this:

cat /etc/lightdm/slick-greeter.conf

ray@ray-Kudu-Pro:~$ cat /etc/lightdm/slick-greeter.conf
cat: /etc/lightdm/slick-greeter.conf: No such file or directory

That’s a bit weird, I thought it was there by default. Anyway, I’m so used to editing LightDM’s files by hand that I hadn’t noticed that the option is in the Control Center. There’s a login screen settings tool: check the Options tab (third one) and you should see one to enable the numpad lock.

If it doesn’t work, check that you have the package numlockx installed. And if you do, try to edit the config file manually:

sudo pluma /etc/lightdm/slick-greeter.conf

Put this in it and save:

[Greeter]
activate-numlock=true

terzag
Thanks for the help
This last suggestion activated numlock
Now able to login using password with numbers