* boot with numlock?
@ 2003-10-31 14:39 Pete Shinners
0 siblings, 0 replies; 2+ messages in thread
From: Pete Shinners @ 2003-10-31 14:39 UTC (permalink / raw)
To: linux-newbie
i have my bios set to boot with numlock on. i always want numlock on.
linux seems to default to numlock off on all the terminals. if i could
just fix the X terminal that would be good enough, but is there a way
for all the terminals to have the numlock on?
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: boot with numlock?
@ 2003-11-01 2:28 beolach
0 siblings, 0 replies; 2+ messages in thread
From: beolach @ 2003-11-01 2:28 UTC (permalink / raw)
To: pete; +Cc: linux-newbie
Hi, Pete
For brief answer just skip to the down to the indented part.
This question is addressed in The Linux Documentation Project at
<http://www.tldp.org/> (which turns ten years old today! Hurray!).
There are two HOWTOs that pertain too your question:
The Linux Keyboard and Console HOWTO in more technical and abstract
(and less helpful, IMO) terms at:
<http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO.html>.
The HOWTO covers a ton of info on linux keyboard & console; the
section on numlock is Section 10 "The keyboard LEDs" at:
<http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-10.html>.
A briefer (and better IMO) answer is in the Configuration HOWTO at
<http://www.tldp.org/HOWTO/Config-HOWTO/index.html>. It's keyboard
section is at <http://www.tldp.org/HOWTO/Config-HOWTO/x43.html#AEN64>.
To quote this Configuration HOWTO:
To enable NumLock on by default, add these lines to the startup
script /etc/rc.d/rc.sysinit:
for tty in /dev/tty[1-9]*; do
setleds -D +num < $tty
done
In this example, change the /dev/tty[1-9]* to however many consoles
you have on startup; for example my distro (Slackware) defaults to
having 6 initial consoles, so I would use: /dev/tty[1-6]*
Also note that (AFAIK) you can only set the default numlock status
for consoles that have been created; so if I boot up with the default
of 6 consoles, but later create a new virtual terminal (with openvt),
the new console would default to having numlock off. This also means
that when you start X Windows, the numlock will most likely default to
off as well. For X, I'm not sure how to set it to startup with numlock
on. Probably simple, but I haven't taken the time to research it.
Hope this helps,
Conway S. Smith
--------- .sig ---------
Why do programmers confuse Halloween with Christmas?
Because 31 OCT == 25 DEC.
--------- .sig ---------
-- Pete Shinners <pete@shinners.org> wrote:
>i have my bios set to boot with numlock on. i always want numlock on.
>linux seems to default to numlock off on all the terminals. if i could
>just fix the X terminal that would be good enough, but is there a way
>for all the terminals to have the numlock on?
________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-01 2:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-31 14:39 boot with numlock? Pete Shinners
-- strict thread matches above, loose matches on Subject: below --
2003-11-01 2:28 beolach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox