Summary: How Can I Disable "NumLock"

From: Gary P Carr <>
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)
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)

>X-Sieve: CMU Sieve 2.2
>X-Mailer: QUALCOMM Windows Eudora Version
>Date: Thu, 12 May 2005 17:21:08 -0600
>From: Gary P Carr <>
>Subject: How Can I Disable "NumLock"
>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
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