I tried to activate numlock in the login screen using numlockx. The instruction point me to add this line
greeter-setup-script=/usr/bin/numlockx on
to this file
/etc/init/lightdm.conf
I tried to reboot. In the boot screen this line was shown.
ERROR: File /etc/init/lightdm.conf: syntax invalid:
init:lightdm.conf:62: Unknown stanza
Which means the added line. What should I do?