To enable the number lock at the time of booting you may need to install numlockx by typing the given below command in the terminal window:
Code:
sudo aptitude install numlockx
After the installation of numlockx you may need to add a new entry in the Xsession file by following the steps given below:
Code:
sudo vim /etc/X11/Xsession
You need to scroll the page until you see the line “exit (0)”. After you find “exit (0)” you need to paste the code given below above it:
Code:
# Turn on numlock when X starts.
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
Fi
Now you need to save this file and restart the system to check if the number lock has been enabled at booting time.
Bookmarks