num lock 開機自動亮起 - Linux

Table of Contents

抱歉請問一下各位大大
我是用CENTOS 6.4
請問要如何在開機的時候就num lock就亮起來
我google有2種改法
etc/rc.d/rc.local 加入
  for t in 1 2 3 4 5 6 7 8
  do
   setleds +num
   $t>/dev/null
  done
另一種
/etc/rc.d/rc.sysinit 加入
for tty in /dev/tty[1-9]*; do
setleds -D +num < $tty
done

但是都不行,請問有人可以指導一下嗎?

--

All Comments

Yuri avatarYuri2013-10-26
numlockx 試試看
Oliver avatarOliver2013-10-29
抱歉,我搜不到numlockx套件
Adele avatarAdele2013-10-29
找不到numlockx應該是你沒有repoforge
Victoria avatarVictoria2013-10-30
另外numlockx應該是X啟動時用的不是開機
Elizabeth avatarElizabeth2013-11-03
感謝指點!!因為我是剛學所以不大清楚!!先去了解repoforge
Xanthe avatarXanthe2013-11-07
感謝指點,可以裝numlockx了,而且多學了repoforge