Turn on numlock when logging on Centos 7
I want my numlock to be turned on when I turn on my laptop but my laptop has no option to turn on the numlock in the bios.
I installed numlockx from here and installed it with the command
yum install numlockx-1.2-6.el7.nux.x86_64.rpm
Then I added the line
/bin/numlockx on
to /etc/X11/xinit/xinitrc after the line
#!/bin/sh
Done!