[cumbria_lug] Turn on NumLock

cumbria@mailman.lug.org.uk cumbria at mailman.lug.org.uk
Mon Jul 7 13:30:00 2003


To Turn Numlock ON:-

in /etc/profile  OR Startup script /etc/init.d/rc.5/S99.sh

for tty in /dev/tty[1-6] /dev/tty1[2]; do
 setleds -D +num <$tty &
done


You need to be 'connected' to the console so this will not work on
a 'Konsole' or shell running under 'X' as these are not login shells
but normal proccesses. 

Trevor 'The Devil' Pearson