I first used Cooker when it was building Mandrake 8.1 or so (longggg time ago)
I installed Lx 25.90 Nickel in December, but hadn’t touched it since then until today, and don’t remember much about the installation, though likely this subject played a part in leaving it fallow so long.
I’m a touch typist - NUM must always be enabled. I shouldn’t have to look at the keyboard to see if NUM is still set to match the BIOS state = ON.
package numlock is installed.
systemctl reports numlock service is generated, but it doesn’t do anything detectable by me.
package chkconfig is installed, which contains no chkconfig command, but does contain alternatives and update-alternatives commands.
nothing exists in /etc/alternatives that looks like anything to do with numlock; --list only shows gs, ebtables, ssh-askpass, dvbtune, lightdm-greeter & bssh-askpass. Attempts to find examples how to use alternatives to create something in /etc/alternatives to /etc/rc.d/init.d/numlock get me nowhere, nothing but usage messages.
in Mageia 9 if not 10, where OpenMandriva seems to match num* files in /etc/ [profile.d/,rc.d/initd./]numlock, numlock ON on the ttys is enabled via chkconfig, hence my failed attempt to utilize chkconfig to enable it.
Searching for getting NUM ON turns up SDDM, LightDM, Plasma, etc. but nothing that isn’t pre-systemd about tty enabling.
Nothing in /etc/sysconfig looks relevant to NUM state.
I know that works for Plasma, but I don’t see how a Plasma setting would, or should, be responsible for behavior on ttys. This needs to be done from without X, whether X is working or not. Ttys don’t need X working, but they do need dependable keyboard behavior.
It is, and works just fine with Debian, Fedora, Mageia, Ubuntu, openSUSE, and Mint. It’s pretty simple in openSUSE, just edit /etc/sysconfig/keyboard to include KBD_NUMLOCK="yes". Just every distro and DE has a different means to turn NUM back ON after the kernel rudely turns it off, and turn it back ON when it or anything else sneaks it off again.
If someone has a laptop or a ten keyless keyboard, they would not want this on. I would guess that it could be installed and only start the service manually, if the user wanted it.