Turn NumLock on at boot

Oct 30, 2024 Last reply: 1 year ago 4 Replies

Hi



Yesterday I let an update (wayfire?) run on my Raspi5 running Bookworm. It changed the screen resolution and set a wrong keyboard, which is easily fixed. But it also removed the automatic setting of Numlock to On by boot. Way back I did a lot of testing of different solutions before finding something that worked. It has been a long time since I fixed that NumLock problem, and do not remember how. The newest solution I found yesterday is putting the line "kb_numlock_default_state = true" at the end of wayfire.ini. I checked wayfire.ini, and that line is already in exactly has it should be.



In hope that some of the bright guys out there got the same problem and fixed it: Please, please tell me how :-)



Best regards


Am 30.10.24 um 18:27 schrieb Jesper:

May be perplexity.ai becomes your friend, i. e.

formatting link
it is in German language, but CLI input should be understandable...

Regards ___ JJenssen

Thank you for the suggestion. None of the three methods Perplexity showed worked. It's a small problem. The keyboard I use for the raspi is a Logitech K 360 without LED's to show the state of Numlock, CapsLock...

I tried some time ago to make Perplexity write some code for a camera. It looked alright, but did not work because it used a deprecated library. Maybe the same is the case with the suggestions for setting NumLock, that the system has been updated since Perplexity got its info.

I have sometimes been hunting for ways to accomplish other simple things on a raspberry, things that are very easy fixed in Windows. But it can take many tries before you find a solution that actually works for a pi.

Best regards

You can run Windows on a Pi -- “IoT Edition”.

That looks interesting, something to test. It looks easy to just download and set up an image for a raspberrypi. Wonder if it's for free. Probably not.

Best regards

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required