How-To Linux

How To Enable NumLock on Startup (Kali Linux)

numlock

By default, Kali Linux doesn’t enable NumLock on startup. You must have realized this when you try to key in your long password that has a passphrase that containing some numbers. Most of the time computer users type their passwords using the NumPad and if this hasn’t been configured well when you hit the Enter button, most probably you’ll bump into “wrong password” error. This can be one of the most annoying experiences you’ll ever have if you never liked wasting your precious time.

In this article, we’re going to look at how you can enable the NumLock on startup in Kali Linux. There are two methods to achieve this and both entail one crucial and important step. That is, enabling NumLock manually for the first time.

1. Enable NumLock Using Command Line

As far as Linux is concerned, you can simply type a simple command and make it work but you’ve got to go back to what I have just said enabling NumLock manually for the first time.

Now, open the Terminal and key in the following command;

root@kali:~# gsettings set org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state true

enable numlock command

Hit Enter and Reboot to confirm your settings.

2. Using dConf Editor GUI

First, make sure your NumLock is enabled.

Open Terminal and type this command;

root@kali:~# dconf-editor

A graphical dConf Editor will pop up.

dconf editor command

In dConf editor, navigate to org>gnome>settings-daemon>peripherals>keyboard

Mark the box that has these ‘remember-numlock-state

Important: ‘numlock-state‘ should be in ‘on‘ state as shown in the figure below.

It is as simple as that. To confirm your configurations, just close dConf Editor and reboot your computer to see whether it worked for you or not.

Conclusion

Hope you found this article helpful. Please share your thoughts in the comment section below and don’t forget to connect with us on Facebook, Twitter, and Google+ Community for more tips and tricks.