This is a multi-part message in MIME format. ------=_NextPart_000_003D_01C1AC2E.DEAF2D60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This did it for me too. Would prefer that the light was on for num lock = on but I can live with that unless someone knows how to change that. Tom Achtenberg Help me win the Food for the Hungry Child Sponsorship Contest! =20 Visit http://www.ybnormal.org for details=20 Registered Linux User #242974 (See http://counter.li.org) Visit my home page at http://achtenberg.com ----- Original Message -----=20 From: "Lisa Winkler" To: Sent: Friday, February 01, 2002 8:32 PM Subject: Re: Num Lock Thanks for the tip. I have been wondering this myself but never got = sufficiently motivated to do a web search or post a question. On Thu, 31 Jan 2002, Kevin Brown wrote: > Found this also: >=20 > http://www.mandrakeuser.org/docs/resource/res_aolm-faq.html#2.5 >=20 > 2.5 How can I set NUMLOCK to be on at boot time? >=20 > This question really has two answers. One applies to consoles = and the > other to the X Window System. >=20 > For console ttys: add the following to the end of your startup = script > '/etc/rc.d/rc.local' : >=20 > INITTTY=3D/dev/tty[1-12] > for tty in $INITTTY; do > setleds -D +num <$tty > done >=20 > (Note that this is straight from the man page for setleds.) >=20 > For X, you need to edit the file = '/usr/X11R6/lib/X11/xkb/types/basic'. > The last section of the file is the "KEYPAD" section and looks like: >=20 > type "KEYPAD" { > modifiers =3D Shift+NumLock; > map[None] =3D Level1; > map[Shift] =3D Level2; > map[NumLock] =3D Level2; > map[Shift+NumLock] =3D Level1; > level_name[Level1] =3D "Base"; > level_name[Level2] =3D "Number"; >=20 > To set NUMLOCK on by default, simply change every occurrence of = "Level1" > to "Level2" and change every occurrence of "Level2" to "Level1" = (without the > quotes). Then restart X. Note that the behavior of the NUMLOCK light = will change > as well (i.e. the light will be lit when NUMLOCK is OFF and will be = dark when > NUMLOCK is ON). >=20 > > Tom Achtenberg wrote: > >=20 > > Here is an easy one I can't find in any of the books. How can I = have the num > > lock stay on when I boot? The bios has it set on but right after = the Linux > > kernel loads it turns off. There must be a setting somewhere. > >=20 > >=20 > > Tom Achtenberg > >=20 > > Registered Linux User #242974 (See http://counter.li.org > > Visit my home page at http://achtenberg.com > ________________________________________________ > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail = doesn't post to the list quickly and you use Netscape to write mail. >=20 > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >=20 ________________________________________________ See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't = post to the list quickly and you use Netscape to write mail. PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss ------=_NextPart_000_003D_01C1AC2E.DEAF2D60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
This did it for me too.  Would = prefer that=20 the light was on for num lock on but I can live with that unless someone = knows=20 how to change that.
 

Tom Achtenberg
 
Help me win the Food for the Hungry = Child=20 Sponsorship Contest! 
Visit
http://www.ybnormal.org for details=20
 
Registered Linux User #242974 (See = http://counter.li.org)
Visit my=20 home page at
http://achtenberg.com
----- Original Message -----
From: "Lisa Winkler" <lmw@po.cwru.edu>
To: <plug-discuss@lists.plug.phoenix.az.us>
Sent: Friday, February 01, 2002 8:32=20 PM
Subject: Re: Num = Lock

Thanks for the tip.  I have been wondering this myself but = never got=20 sufficiently motivated to do a web search or post a question.

On = Thu, 31=20 Jan 2002, Kevin Brown wrote:

> Found this also:
> =
>=20
= http://www.mandrakeuser.org/docs/resource/res_aolm-faq.html#2.5<= /FONT>
>
> 2.5 How can I set NUMLOCK to be on = at boot=20 time?
>
>        This = question=20 really has two answers. One applies to consoles and the
> other to = the X=20 Window System.
> =
>        For=20 console ttys: add the following to the end of your startup = script
>=20 '/etc/rc.d/rc.local' :
>=20
>       =20 INITTTY=3D/dev/tty[1-12]
>       = ; for tty=20 in $INITTTY; do
>        = setleds -D=20 +num <$tty
>        = done
>=20
>        (Note that this is = straight=20 from the man page for setleds.)
>=20
>        For X, you need to = edit the=20 file '/usr/X11R6/lib/X11/xkb/types/basic'.
> The last section of = the file=20 is the "KEYPAD" section and looks like:
>=20
>        type "KEYPAD"=20 {
>        modifiers =3D=20 Shift+NumLock;
>        = map[None] =3D=20 Level1;
>        map[Shift] =3D = Level2;
>        map[NumLock] = =3D=20 Level2;
>        = map[Shift+NumLock] =3D=20 Level1;
>        = level_name[Level1] =3D=20 "Base";
>        = level_name[Level2] =3D=20 "Number";
>
>        To = set=20 NUMLOCK on by default, simply change every occurrence of = "Level1"
> to=20 "Level2" and change every occurrence of "Level2" to "Level1" (without=20 the
> quotes). Then restart X. Note that the behavior of the = NUMLOCK light=20 will change
> as well (i.e. the light will be lit when NUMLOCK is = OFF and=20 will be dark when
> NUMLOCK is ON).
>
> > Tom = Achtenberg=20 wrote:
> >
> > Here is an easy one I can't find in = any of the=20 books.  How can I have the num
> > lock stay on when I = boot? =20 The bios has it set on but right after the Linux
> > kernel = loads it=20 turns off.  There must be a setting somewhere.
> > =
> >=20
> > Tom Achtenberg
> >
> > Registered Linux = User=20 #242974 (See http://counter.li.org
> >=20 Visit my home page at http://achtenberg.com
>=20 ________________________________________________
> See
http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly = and you use=20 Netscape to write mail.
>
> PLUG-discuss mailing list  = - =20 PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>=20

________________________________________________
See = http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly = and you use=20 Netscape to write mail.

PLUG-discuss mailing list  -  = PLUG-discuss@lists.plug.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
------=_NextPart_000_003D_01C1AC2E.DEAF2D60--