[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject




>>~
>> Does anyone know how to turn on NumLock in Xsetup_0 so that it is on~
>> in XDM or how to just default NumLock to On in X11 in general.  It works~
>> if I push NumLock,  but turns off as soon as I log out of Xwindows,  and~
>> when XDM starts up.  I've tried "setleds"  which works on a VC but doesn't~
>> appear to do anything in X.~
>>~

> Adam,
>
>Did you ever hear anything about this?  I have this in my
>/etc/rc.d/rc.local file to turn on numlock when I boot up:
>
>INITTY=/dev/tty[1-8]
>for tty in $INITTY; do
>        setleds -D +num < $tty
>done

  Yep,  I've got that in their,  and it works for a VC but as soon as xdm~
starts up Numlock turns off.  And a setleds on /dev/tty2 (where X is) won't~
turn it back on again.