Turning on Keyboard LEDs on startup
I don't know you guys, but I'm a bit lazy to turn on the Num Lock led each time I boot Linux. Windoze does it automatically. So i did some research and I concluded that in order to do it I must modify the /etc/X11/XF86Config file... There are some references about three LEDs in that file, but I couldn't undertand them. Any suggestions?
|
on start up my mandrake server does this in a startup file
setleds -D +num and to take it off: setleds -D -num just put that in a start up file and your off |
yup it really works. thanks.
|
...however strangely enough this does not work on RED HAT 9... it gives me this error:
KDGKBLED: Invalid argument Error reading current flags setting. Maybe you are not on the console? Any suggestions? |
Quote:
Quote:
basically to make the numlock come on on all the screens it does a mini loop in that loop it does this: setleds -D +num < /dev/ttyX where /dev/ttyx is the console your on e.g. /dev/tty6 have a play and let us know |
yes i've tested it with that script (infact on mandy it works...) The problem is in RedHat Linux (apologies, that error came up prior to the script), but still no LEDs light after that script (and no errors)
|
All times are GMT -5. The time now is 12:09 AM. |