[H-GEN] Numlock
Chris Pascoe
s335029 at student.uq.edu.au
Tue Nov 4 01:53:42 EST 1997
On Tue, 4 Nov 1997, John Boggon wrote:
> Is there a way to set numlock ?. It defaults to off at the moment even
> though It's default is on in the bios. It stays on till Linux boots then
> goes off. Gets annoying when I use the numeric keypad without looking !..
I believe setleds should do the trick:
There's an example on the manpage which looks like this:
INITTY=/dev/tty[1-8]
for tty in $INITTY; do
setleds -D +num < $tty
done
which will turn numlock on for tty 1..8, and make it stick over 'reset'
also. Placed in the appropriate rc location for your distribution, this
should do the trick :)
Chris
----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe
More information about the General
mailing list