Num Lock on login screen

Is it possible to have Num Lock enabled
on login screen of KDE (sddm) ?

Edit /etc/sddm.conf. Make sure that the three lines near the top look like this… :arrow_down:

[General]
InputMethod=
Numlock=on

2 Likes

Just tried to do this but I have sddm.conf.d which is the virtual keyboard. i am a bit dim so probably missing something. Thanks

I have changed /etc/sddm.conf and Num Lock is enabled during login.

I don’t have etc/sddm.conf only sddm.config.d which says virtual keyboard and has no GENERAL line. Do I just add the three lines below that?

I have the file /etc/sddm.conf and I am posting it:

[General]
InputMethod=
Numlock=on

[Theme]
CursorTheme=breeze_cursors
DisableAvatarsThreshold=7
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
ThemeDir=/usr/share/sddm/themes

[Users]
DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin
HideShells=
HideUsers=
RememberLastSession=true
RememberLastUser=true
ReuseSession=false

[Wayland]
EnableHiDPI=false
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log

[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=false
MinimumVT=1
ServerArguments=-nolisten tcp
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
UserAuthFile=.Xauthority
XauthPath=/usr/bin/xauth
XephyrPath=/usr/bin/Xephyr

I guess you only need the first 3 lines.

Thanks for your reply I don’t seem to have this folder, but I have found an easier method. Start /search for keyboard and there is an option there.

This is not a folder, it is a text file in the folder /etc/.

Do you have KDE installed ?
Or using sddm ?

Apologies should have said text file. This is in sddm.conf.d
InputMethod=qtvirtualkeyboard

Yes I am using KDE.

@nl.smart: this enables the Num Lock for the KDE session, but not during login.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.