Let Linux boot automatically open NUMLOCK

  

cu look at previous posts, the solution to this problem is:

added to /etc/rc.d/rc.local:
for t in 1 2 3 4 5 6 7 8
do
setleds + num
$ t & gt; /dev /null
done

I tried but nor N times, NUMLOCK light is not bright, do not know :)

finally solved the problem, I once again appreciate the benefits of man's problems lies in what there is to know friends help out the problem, very good :) Oh, the solution is as follows :
-----------------------------------
for t in 1 2 3 4 5 6 7 8
do
setleds -D +num
$t>/dev/null
done
------------------ ------------------
That is to say, you need to add the parameter -D to change the default flags. Of course, if you change num to caps, scroll can change the state of capslock and scrolllock. More detailed instructions in man:) Hey, if you have problems, you must first look at man:)

PS : This article turned out from the notes, not original, the source has been found, sorry.

Copyright © Windows knowledge All Rights Reserved