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

Re: Num lock activated by default, at start



On Fri, Nov 10, 2000 at 10:33:47AM +0100, Joerg Johannes wrote:
> Antonio Rodriguez schrieb:
> > 
> > How do I make my numlock pad active from start?
> > Thanks,
> > Antonio.
> > 
> > --
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> There should be an option in your BIOS, which says "NumLock status" You
> should be able to switch zhis on/off.

which does absolutly nothing because the linux kernel does not use the
BIOS keyboard driver, it loads it's own reinitiallizing the keyboard
in the process (clearing the numlock).  95% of everything in the PC
BIOS is irrelevant cruft as far as GNU/Linux is concerned.  

instead add this to your ~/.bash_profile

case $(basename `tty`) in
    tty[1-9])
        setleds +num
        ;;
esac

there is a X11 based version of setleds too but i can't remember what
its called (nor find the package for it...) 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpQodsZSO3NT.pgp
Description: PGP signature


Reply to: