Re: NumLock in console

On Thu, 14 Jul 2011 23:51:11 +0700, Sthu Deus wrote:

I want to have NumLock turned on in console automatically that is on
start up.

On the web I have found such a solution:

for tty in /dev/tty[1-6]; do
/usr/bin/setleds -D +num < $tty

But I look for a setting, may in


to reach my goal instead of performing the above cycle every time the OS

Do You have any idea how to do that?

Not sure if this will work, but "console-tools" package includes the
ability to turn on the NumLock led, or at least there is a variable that
seems to do it so:

sm01@stt008:/etc/console-tools$ grep -i num /etc/console-tools/config
# Turn on numlock by default



To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx