TransWikia.com

getting NumLock to be on by default on start login screen (SOLVED)

elementary OS Asked by Big Smoke on December 14, 2021

I installed elementaryos-0.4.1-stable.20170517.iso several times on my intel/nvidia laptop the first time i did the install i could enter numbers on my numpad. After doing a clean install, now on boot numlock is OFF by default no matter what state i leave it in before i shut it down. I tried adding

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

after

sudo nano /etc/lightdm/lightdm.conf

which led to not being able to boot so then using ctrl+c at boot and recovery mode removed it back to normal, i saw older posts on this forum that you could just open settings->keyboard but i believe that was relevant for a version 2 yrs ago.

I am up to date to latest version as of this post

2 Answers

On Elementary OS 5.1.7 Hera, there is a file /etc/lightdm/io.elementary.greeter.conf that has the line #activate-numlock=true. Simply uncomment the line (remove the hash symbol from the start of the line) and the numlock should now be enabled on the login screen. It stays enabled after login as well.

Answered by Hubro on December 14, 2021

Adding/editing greeter-setup-script=/usr/bin/numlockx on in /etc/lightdm/lightdm.conf works for me on elementary OS 5.1.6 Hera very well. https://wiki.archlinux.org/index.php/LightDM#NumLock_on_by_default confirms this solution. Just for the case someone else is looking for a way to enable NumLock in login screen on default.

Answered by r4dh4l on December 14, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP