LINUX LITE 7.4 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to enable Numlock on login screen
#1
Press Ctrl+Alt+T to open Terminal
First you need to install the package numlockx. Type in:
Code:
sudo apt-get install numlockx
Then you need to change /etc/lightdm/lightdm.conf file

Two ways to do it:
1. Run this command:
Code:
sudo sh -c "printf '\ngreeter-setup-script=/usr/bin/numlockx on' >> /etc/lightdm/lightdm.conf"
It will add this line greeter-setup-script=/usr/bin/numlockx on at the end of the file.

2. Open /etc/lightdm/lightdm.conf file with superuser privileges
Code:
sudo  leafpad /etc/lightdm/lightdm.conf
then add this line to the end of the /etc/lightdm/lightdm.conf file
Code:
greeter-setup-script=/usr/bin/numlockx on

Additional info:
greeter-setup-script=/usr/bin/numlockx off
will disable Numlock on login screen
Code:
sudo  leafpad /etc/lightdm/lightdm.conf
Reply
#2
Thank you for including this misko Smile
Reply
#3
I am new to Linux Lite and have been searching for this information, but it does not work...

when I added the information to /etc/lightdm/lightdm.conf file which I had to create, my system would not boot into LL anymore. I dropped into a root command line and removed the line and then it booted up fine.

I even tried the line "activate-numlock=true" which I have used before on another system, but it doesn't do anything. Any help would be appreciated as this is driving me crazy!!!

Terry
Reply
#4
This does the trick as well:
https://sites.google.com/site/easytipsfo...n-screen-1
My laptop:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

I don't need Google, my wife knows everything!

My Linux website
Reply
#5
Thanks nomko, but that did not work either.  Don't think it is something with my system as its basically a fresh install. Will keep researching.

Terry
Reply
#6
So I got it to work, basically the same info as the first post by misko_2083, but in a different folder/file

I used the folder

/usr/share/lightdm/lightdm.conf.d/ and added the line

"greeter-setup-script=/usr/bin/numlockx on" to the end of the file

50-greeter-wrapper.conf

So happy now to have that working...not sure why the different folder but will keep learning!

Terry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)