Numlock on startup

Here are two tips to activate numlock just after boot:

Console

If you use console-tools:

echo "LEDS=+num" >> /etc/console-tools/config

If you use kbd:

echo "LEDS=+num" >> /etc/kbd/config

X11 + gdm

You should first install numlockx on Debian:

apt-get install numlockx

If you use gdm as dm, just add the following lines at the beginning of the file: /etc/gdm/Init/Default

if [ -x /usr/bin/numlockx ]; then
      /usr/bin/numlockx on
fi