Why isn't Numlock at Plasma Startup turned on by default?

What’s the disadvantage of turning it on by default compared to “Leave unchanged”?

1 Like

With Xorg you have numlockx to force it on. I don’t know what wayland has.

The advantages or disadvantages depends on your personal preferences.

the problem is, I guess, it still doesn’t work

For KDE, there is a setting to turn on num-lock by default. Search for “Numlock” in System Settings.

Courtesy of the Arch Wiki

Go to System Settings > Input Devices > Keyboard, in the Hardware tab, in the NumLock on Plasma Startup section, choose the desired NumLock behavior.

thx, I guess that works but it doesn’t pass the argument to SDDM

https://bugs.kde.org/show_bug.cgi?id=368063

1 Like

Thx. Having a look into the issues about numlock it appears someone also wanting to have it enabled by default 432294 – Numlock is disabled by default on login screen

And here’s a recent bug report 477374 – Plasma on Wayland fails to recognize numlock status on startup

In Fedora 39 Cinnamon, search for numlock yields nothing.

Decided to reply here, as this was the first hit for me in Google.

I have tried a couple of things:

  • Editing /etc/sddm.conf
  • Editing /usr/lib/sddm/sddm.conf.d/default.conf
  • Making sure numlock was on in the bios (it stays on in grub but is immediately disabled when Fedora loads)

But what worked for me is the following:
System settings → Appearance & Style → Colors & Themes → Global Theme → Login Screen (SDDM) → click Apply Plasma Settings… in the top right.

As an added bonus, this also corrected the order in which my displays are laid out in SDDM. What I ended up doing was disabling 2 monitors in settings, clicking Apply Plasma Settings and enabling them again. This allowed me to have a single monitor during log in, and use all monitors after logging in. Makes more sense to me than displaying the login page 3 times.

Edit: This, of course, assumes that you have System Settings → Input Devices → Keyboard → Hardware tab → NumLock on Plasma Startup set

4 Likes

Thanks for the reply!

Good that you found this. Unfortunately, I’m on gnome for a while because of paperwm. But I’ll be coming back one day and this is good to know!

1 Like

Still valid. :bluethumb:

So… My numlock enabled on UEFI, enabled in KDE settings… Numlock was not ON by default on the first logon screen, had to enable it manually. This solution was the good one. Applying the Plasma Settings fixed the issue.

Many thanks for this fix !!!

Plasma is complex but fantastic.

1 Like

I spent a LOT of time trying to figure this out, and your reply is what worked! (applying Plasma Settings in the Login Screen (SDDM) settings) Thank you for providing this information!