Method 1:
apt-get install numlockx
gedit /etc/X11/gdm/Init/Default
搜寻这一行文字
…
exit 0
在这之前新增下面几行文字
if [ -x /usr/bin/numlockx ];
then /usr/bin/numlockx on
fi
保存编辑过的文件
Method 2:
How to Set Num Lock ON as the default in X startup
This applies to people who want to override the Linux kernel default of turning
the Num Lock key off at boot time ->(so… Read more