I am trying to force numlock to be on upon initial boot at the login screen on Ubuntu 12.04. The only solutions I have found so far switch numlock on only after initial login.
I'm looking to force numlock to be on when the login screen is displayed, and before the user has logged in. Can anyone assist?
Best Answer
On many machines, you can set whether or not Number Lock is turned on on boot, in the BIOS settings (accessible when you first power on the machine).
Otherwise, there are a number of ways to enable (or disable) Number Lock in software, depending on your specific needs. The most useful ways are listed here.
If you want Number Lock turned on when Ubuntu starts (not before that on the GRUB menu, and not afterwards when logging in, and not just for specific virtual consoles), then install
numlockx
and make the initialization script/etc/init.d/rc.local
use it to enable Number Lock:Source: NumLock, by Contributors to the Ubuntu documentation wiki, last line taken verbatim (as this source permits).