PDA

View Full Version : numlock off at startup



wicking
09-15-2004, 12:48 AM
Hello.

What do I have to change, to make my Numlock turned on at startup?

I have installed Knoppix on my harddisk an tried this in a startupskript:


for i in /dev/tty[1-8]; do setleds -D +num; done

but it didn't work. The Numlock is still off.

Any ideas?

nishtya
09-15-2004, 02:25 AM
well, if you are using KDE you can go to control center>peripherals>keyboard and check the numlock on KDE startup box.

Markus
09-15-2004, 06:55 AM
Is numlockx installed on Knoppix?
apt-get install numlockx

someuser77
10-13-2006, 10:19 AM
thanks for the script wicking!

maxIT
10-13-2006, 06:20 PM
Maybe you can do that via 'bios'.
Mine let me to set it.

I've tried the above command line, and it doesn't work, giving me an error message


root@box:/home/max# setleds -D +num
KDGETLED: Invalid argument
Error reading current led setting. Maybe stdin is not a VT?


This only happen however under X, trying the same in text-console all works properly!