Summary: How Can I Disable "NumLock"

From: Gary P Carr <gcarr_at_lanl.gov>
Date: Fri May 13 2005 - 10:56:50 EDT
Many thanks to Casper Dik who came up with the solution:

%xmodmap -e 'clear mod3'

You can find out that mod3 is associated with the Num_Lock key by running 
xmodmap without switches or arguments:

% xmodmap
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0xe8),  Shift_R (0xec)
lock
control     Control_L (0xe7),  Control_R (0xeb),  Control_L (0x40)
mod1        Alt_L (0xe9)
mod2        Mode_switch (0xed)
mod3        Num_Lock (0x5a)
mod4        Meta_L (0xea),  Meta_R (0xee)
mod5


>X-Sieve: CMU Sieve 2.2
>X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
>Date: Thu, 12 May 2005 17:21:08 -0600
>To: sunmanagers@sunmanagers.org
>From: Gary P Carr <gcarr@lanl.gov>
>Subject: How Can I Disable "NumLock"
>Cc: gcarr@lanl.gov
>X-PMX-Version: 4.7.0.111621
>
>I have tried using xmodmap to reassign the keycode for the NumLock key:
>
>xmodmap -e "keysym Num_Lock = BackSpace"
>
>After that the NumLock key does indeed do a backspace. Unfortunately it 
>also still enables the NumLock function on the numeric keypad.
>
>How can I disable the NumLock function for the keypad?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri May 13 11:04:15 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:46 EST