On 21/03/10 21:46, simon ransome wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Chris Walker wrote:
As per my other mail, I'm trying to make Mandriva switch off the NumLock LED at switch on. I've got it switched off in the BIOS but when I get to the login screen, Mandriva has already put it back on. I've got it switched off in the control panel but that doesn't affect startup. Any pointers as to where I should look for this? So far all my searches tell me how to switch things on, not how to stop the wretched thing coming on.
Hi Chris,
Numlock management on Mandriva is a service, started by /etc/init.d/numlock on boot - it scans all the TTYs and sets it to "on".
I haven't played about with it but I would imagine that disabling this startup script with something like 'chkconfig --level 5 numlock off' might do the trick, as long as, as you've said, numlock is disabled in BIOS.
I've found a numlock file at /etc/X11/xinit.d and have commented out the code that switches on the LED. That seems to have worked this morning as the LED didn't come on at login. It came on but went off during login.
Your reply helped me find this http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Disabling_Numlock_...
Thanks for your help.