Eric Huff schrieb am Tue, 7 Oct 2003 23:10:59 -0700:
> Mine looks like this:
>
> MY_TTY=`tty`
> case $MY_TTY in
> /dev/tty[0-9]*) [ -f /etc/sysconfig/numlock ] && setleds -D +num < $MY_TTY;;
> esac
> unset MY_TTY
>
>
> If i understand it right, since i don't have /etc/sysconfig/numlock,
> that would be why i don't get numlock.
>
> I'll add it and see if i get it next time i boot.
No, makes no difference because I don't have /etc/sysconfig/numlock and
it works for me here.
But I found something else:
/etc/X11/xdm/Xsetup_0 shows:
if [ -x /etc/X11/xinit.d/numlock ]; then
/etc/X11/xinit.d/numlock &
And /etc/X11/xinit.d/numlock shows:
if [-f /var/lock/subsys/numlock -a -x \
/usr/X11R6/bin/enable_X11_numlock]; then
/usr/X11R6/bin/enable_X11_numlock
fi
Bah, another place to search for the solution....
To me this is of rather academical interest. I boot my desktop maybe
once a month and all I have to do to set numlock is to push a single key
button. What do you think, how much fat will I burn, pushing this button
12 times a year?
On laptops which are normally booted much more often numlock doesn't
matter because it's off all the time.
wobo
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com