[luau] Num Lock

Tom_Gordon/RISE/HIDOE at notes.k12.hi.us Tom_Gordon/RISE/HIDOE at notes.k12.hi.us
Mon Oct 27 16:33:01 PST 2003


use setleds in console (will not work in X) and numlockx in X (not 
maintained for redhat)

putting this in /etc/rc.d/rc.local will do it automatically for console:

echo -n "Turning on numlock ... "
  for tty in /dev/tty[1-6] /dev/tty1[2]; do
    setleds -D +num < $tty &
  done
echo "done "

Tom



More information about the LUAU mailing list