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
done

But I look for a setting, may in

/etc/default/keyboard

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

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
#LEDS=+num

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/pan.2011.07.17.14.02.23@xxxxxxxxx