Wolfgang Bornath wrote: > 1. /etc/rc.d/init.d/numlock has to be run on boot. If you boot into > runlevel 5 (multiuser graphical environment) then you have in > /etc/rc.d/rc5.d a link like @S85numlock which points to > /etc/init.d/numlock > 2. You have a file /etc/profile.d which shows: > #Linux Mandrake configuration > # This is needed as login resets the tty > MY_TTY=tty > case $MY_TTY in > /dev/tty[0-9]*) && setleds -D +num < $MY_TTY;; > esac > unset MY_TTY > This was set up during installation and works in console as well as in X > because X runs on tty7 (and tty8 for a second X) which is included in > the script. > That's how it works for me in 9.2RC2. I haven't yet found a means to > set this in a GUI.
Wolfgang Bornath wrote: > Felix Miata schrieb am Tue, 07 Oct 2003 13:43:26 -0400: > > #chkconfig --levels numlock > > numlock 0:off 1:off 2:on 3:on 4:on 5:on 6:off > > # > > NUM is still off in login manager, and as you can see above, off also > > in single. > Because it's usually not set for tty7 which is the tty your login > manager runs in. See my other posting concerning the standard scripts > Mandrake sets at installation time. My /etc/profile.d/numlock.sh file is exactly like yours (/dev/tty[0-9]*) &&...). NUM is still off in tty7 (login manager). -- "The fear of the Lord is the beginning of wisdom...." Proverbs 9:10 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com