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,
At Sun, 21 Mar 2010 13:23:22 +0000, 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.
Try grepping your /etc/kde4/kdm/kdmrc for "NumLock". You should be able to set the option:
NumLock=Off
in that file.
There's also a NumLock=2 option in my ~/.kde/share/config/kcminputrc but I'm not sure what this means.
Note that these file locations are correct for KDE 4.3 on Debian. Things may be different on Mandriva.
On 21/03/10 14:45, Richard Lewis wrote:
Hi Chris,
At Sun, 21 Mar 2010 13:23:22 +0000, 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.
Try grepping your /etc/kde4/kdm/kdmrc for "NumLock". You should be able to set the option:
NumLock=Off
in that file.
I found this file - /var/lib/mandriva/kde4-profiles/common/share/config/kdm/kdmrc and amended that to Numlock=Off and rebooted but it's just the same. The Numlock LED comes on at login time.
There's also a NumLock=2 option in my ~/.kde/share/config/kcminputrc but I'm not sure what this means.
Note that these file locations are correct for KDE 4.3 on Debian. Things may be different on Mandriva.
I've got /home/chris/.kde4/share/config/kcminputrc which previously showed Numlock as 1. I've amended it to both 0 and 2 but with no effect.
-----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.
cheers, Simon
- -- - --------------------------------------------------------------------- Simon Ransome http://nosher.net
Photography RSS feed - http://nosher.net/images/images.rss
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.