How have the NumLock enabled by default on login in Ubuntu

login-ubuntu

Follow the steps below to let more acted login in Ubuntu, without having to press the button every time NumLook before entering the password.

Step 1: First we install a package that had taken care to keep on Numlook. Open or terminal or program and install.

sudo apt-get install numlockx

sudo-apt-get-install-numlockx_2

Step 2: Open LightDM configuration file with the command below. If you use a login manager, refer to its documentation to find the configuration file.

sudo gedit /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf

Step 3: With the file open, add the following line at the end of it.

greeter-setup-script=/usr/bin/numlockx on

greeter

Step 4: Click the "Save" button and then, close the text editor.

 

Update: For Ubuntu 18.04 run the following codes.

 

sudo apt-get install numlockx

gsettings set org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state true

sudo -i

su gdm -s /bin/bash

gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state ‘on’

exit

exit

Share Article:

Considered an invitation do introduced sufficient understood instrument it. Of decisively friendship in as collecting at. No affixed be husband ye females brother garrets proceed. Least child who seven happy yet balls young. Discovery sweetness principle discourse shameless bed one excellent. Sentiments of surrounded friendship dispatched connection is he. Me or produce besides hastily up as pleased.

2 Comments

  • Hello, I have Ubuntu 18.04. I have followed the steps and they give me notice in the terminal that the language is not supported. I have no idea of ​​programming language, I thank you for the help

    • Oi,

      Run the commands below.

      sudo apt-get install numlockx

      gsettings set org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state true

      sudo -i

      su gdm -s /bin/bash

      gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state ‘on’

      exit

      exit

Leave a Reply

Your email address will not be published. Required fields are marked *

Lillian Morgan

Endeavor bachelor but add eat pleasure doubtful sociable. Age forming covered you entered the examine. Blessing scarcely confined her contempt wondered shy.

Follow on Instagram

Recent Articles

  • All Post
  • Remote access
  • CCTV
  • electrical
  • electronics
  • Computing
  • English
  • Linux
  • News
  • Network
  • Safety
  • Telephony
  • Uncategorized
  • Windows

Dream Life in Paris

Questions explained agreeable preferred strangers too him her son. Set put shyness offices his females him distant.

Join the family!

Sign up for our newsletter.

You have been successfully registered! Ops! Something went wrong, please, try again.
Edit Template

© 2023 Created with Royal Elementor Addons