[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Numlock at startup?



Am 21.07.2005 um 09:39 schrieb Johan:

> Kindly pleas where and how can I set debian sarge to activate the
> numlock key.

If you want to activate num-lock for your text consoles, have a look
at "setleds":  

    setleds +num < /dev/tty1 

Will activate num-lock for the first text console (dev/tty1).  You
can put a little loop like this in your boot scripts to have num-lock
activated on all text consoles at boot time:

    for i in `seq 1 6`; do 
        /usr/bin/setleds +num < /dev/tty${i}
    done


Regards,
Dennis

-- 
Send personal mail to dennis@... only.  Off-list 
mails to lists@stosberg.net will not reach me.



Reply to: