让Linux开机自动打开数字键盘

字体大小: 中小 标准 ->行高大小: 标准

让Linux开机自动打开Numlock

在/etc/rc.d/rc.local里加入:

INITTY=/dev/tty[1-8]
for tty in $INITTY;do
setleds -D +num < $tty
done

另:

setleds +num 是打开Numlock键
setleds +caps 是打开Caps Lock键
setleds +scoll 是打开Scoll Lock键

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/62403.html