Enable NumLock on startup in Kali Linux

I got a long password with a passphrase that contains some numbers. So when I type in my password, I instinctively use NumPad to type it in. Guess what? Kali Linux doesn’t enable NumLock by default on startup. So I press Enter and it says I entered wrong password. This was one of those annoying thing and I didn’t wanted to waste my precious energy pressing that 1 single button. ermmm.. I think I will stop sooking now and write about how to enable NumLock on Startup in Kali Linux.

There’s two different ways you can do it. Both involves one VERY Important step. Enable your NumLock manually for the first time.

Using dConf Editor GUI

So now that you have your NumLock enabled, type in the following in terminal:

root@kali:~# dconf-editor

And you should see Graphical dConf Editor open.

Enable NumLock on startup in Kali Linux - blackMORE Ops -1

In dConf Editor, browse to org > gnome > settings-daemon > peripherals > keyboard

Then simply tick the box that says “remember-numlock-state

One thing to note here, in that “numlock-state” should be “on” state.

Enable NumLock on startup in Kali Linux - blackMORE Ops -2

That’s it. Simply close dConf Editor and reboot to check whether it worked for you.

Using command line

This is Linux, so of course you can simply type in a simple command to make it work. But remember that important step I said, Enable your NumLock manually for the first time.

Then simply open Terminal and type in the following command:

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

Enable NumLock on startup in Kali Linux - blackMORE Ops -3

Press enter and bobs your Uncle. Reboot to confirm.

3 comments

  1. Thank you , It Works But Not On root mode.

  2. solved thx bro

  3. Solution path for Kali Rolling is this one /org/gnome/desktop/peripherals/keyboard/numlock-state . I had no need to restart on Kali Rolling.

Leave your solution or comment to help others.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from blackMORE Ops

Subscribe now to keep reading and get access to the full archive.

Continue reading

Privacy Policy on Cookies Usage

Some services used in this site uses cookies to tailor user experience or to show ads.