Linux Knowledge Base

Display Managers - LightDM

Enable Numlock on Startup

On Xubuntu *

* Worked on Xubuntu 25.04 on Friday, May 23, 2025.

  1. Go to /usr/share/lightdm/lightdm.conf.d.
  2. Open 60-lightdm-gtk-greeter.conf.
  3. Add the line greeter-setup-script=/usr/bin/numlockx on.
From Arch wiki - does not work on Xubuntu
  1. Create /etc/lightdm/lightdm.conf if it doesn't exist.
  2. Open lightdm.conf using nano:
    sudo nano lightdm.conf
  3. Add these two lines to lightdm.conf:
    [Seat:*]
    greeter-setup-script=/usr/bin/numlockx on