Advertising

Author Topic: [ Solved ] How to enable numlock at boot time for login screen?  (Read 2490 times)

Offline way12go

  • Sr. Member
  • ****
  • Posts: 479
  • Life is a unique pattern.
[ Solved ] How to enable numlock at boot time for login screen?
« on: December 03, 2014, 10:03:54 pm »
How to enable numlock at boot time for login screen?



Here's what worked for me:

    Ensure that numlockx is installed:
Code: [Select]
    sudo apt-get install numlockx
    Edit the file /etc/lightdm/lightdm.conf

Code: [Select]
    gksudo leafpad /etc/lightdm/lightdm.conf
    Add the following line to the file:

Code: [Select]
    greeter-setup-script=/usr/bin/numlockx on
Life is a unique pattern.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2027
    • SparkyLinux
Re: [ Solved ] How to enable numlock at boot time for login screen?
« Reply #1 on: December 03, 2014, 10:20:14 pm »
Cool, thank's.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux at irc.freenode.net

Offline zandoval

  • Newbie
  • *
  • Posts: 11
Re: [ Solved ] How to enable numlock at boot time for login screen?
« Reply #2 on: November 13, 2018, 04:15:10 am »
Four years latter still works in Sparky 4.8.1 2018 - THANKS
No mater where your at... There you are.

Offline pavelsam

  • Newbie
  • *
  • Posts: 1
Re: [ Solved ] How to enable numlock at boot time for login screen?
« Reply #3 on: June 20, 2019, 11:13:34 pm »
Is there something else besides just installing the tool?
Unfortunately, it doesn't seem to be working in my case. the numlock light flashes a few times at boot time, but then remains turned off for the logging.
I've tried both greeter-setup-script=/usr/bin/numlockx on and greeter-setup-script=/usr/bin/numlockx toggle, the result is the same.