I'd like to be able to use my number pad immediately after login without having to manually activate it by pressing NumLock.
Open System Settings and click Keyboard:
Switch to the tab Options
Now choose Miscellaneous compatibility options on the left side, and check Default numeric keypad keys on the right side.
This setting takes effect after Login and has no effect at the login screen or consoles.
If it doesn't work for you, try checking Numeric keypad keys always enter digits
/etc/lightdm/pantheon-greeter.conf (in newer versions
io.elementary.greeter.conf) with you favorite editor and remove the
# on the line
This may not apply to you, but it will apply to others out there. Some BIOS's have an option to turn it on automatically.
For example, the ASUS ROG G20AJ Gaming PC's BIOS has this option.
Here is an alternative option assuming you are using the text editor that came with Elementary OS. In the terminal:
sudo scratch-text-editor /usr/share/lightdm/lightdm.conf.d/40-pantheon-greeter.conf
When it opens up in scratch, add the following line to the end of the file:
Save the file and restart the computer. At the login screen, the numlock key should be turned on. Also, when you log out, it will also remain on at the login screen.
There are several changes made on the system, so on Elementary 5 Juno you need a bit different approach.
- Install gedit from AppCenter
- Open Terminal and paste code below
gedit admin:// - opens and edits file as root, just add path to your file.
add activate-numlock=true if missing or remove # if #activate-numlock=true exits.