On Mon, Nov 13, 2000 at 09:33:38AM -0500, Joe Simon wrote:
> I use the following to turn on num lock:
> 
> for t in 1 2 3 4 5 6 7 8
> do
>    setleds +num < /dev/tty$t > /dev/null
> done
> 
> The num lock turns on, but turns off when the x server comes up.

The best solution I've found is putting this in ~/.Xmodmap. Gives
keypad, but no LED:

keycode 79=7
keycode 80=8
keycode 81=9
keycode 83=4
keycode 84=5
keycode 85=6
keycode 87=1
keycode 88=2
keycode 89=3
keycode 90=0
keycode 91=period
keycode 86 = plus
!deactivates NumLock key
keycode 77 =

Some other reading:

 http://feenix.eyep.net/xstuff/numlock.html
 

-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
--



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to