Linux Knowledge Base
Display Managers - LightDM
Enable Numlock on Startup
On Xubuntu *
* Worked on Xubuntu 25.04 on Friday, May 23, 2025.
- Go to
/usr/share/lightdm/lightdm.conf.d
. - Open
60-lightdm-gtk-greeter.conf
. - Add the line
greeter-setup-script=/usr/bin/numlockx on
.
From Arch wiki - does not work on Xubuntu
- Create
/etc/lightdm/lightdm.conf
if it doesn't exist. - Open
lightdm.conf
using nano:sudo nano lightdm.conf
- Add these two lines to
lightdm.conf
:[Seat:*] greeter-setup-script=/usr/bin/numlockx on