1 Nov 2003 03:28
Re: boot with numlock?
<beolach <at> juno.com>
2003-11-01 02:28:44 GMT
2003-11-01 02:28:44 GMT
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]*(Continue reading)
Does anybody have any experience with this? And can anyone
lend a hand? Thanks.
Yawar Amin
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at
RSS Feed