<div dir="ltr">Hey all,<div><br></div><div style>The rollout to my employees are going well. The BETA group are very satisfied with the setup, and all minor niggles have been sorted out so far.</div><div style><br></div><div style>
Except for one thing: Due to a legacy Windows XP application that isn&#39;t playing very nice with VirtualBox, we need to disable the numlock key completely. What we need is simple:</div><div style><br></div><div style>1. Activate numlock upon login.</div>
<div style>2. Disable the numlock key so numlock stays ON under all circumstances</div><div style><br></div><div style>I was convinced that this was easily solved by adding some xmodmap magic to .xinitrc:</div><div style>
<br></div><div style>xmodmap -e &quot;clear mod2&quot;</div><div style><br></div><div style>and while that does indeed disable the key while retaining the ON setting from my SLiM login manager, it also wreaks havoc on my xmonad mod key, which no longer works.</div>
<div style><br></div><div style>I&#39;ve got my modMask set to mod4Mask. I&#39;ve tried using the default modMask, but the problem is still there. I&#39;ve also tried using numlockx (instead of SLiM) to set numlock = ON, but that changes nothing: Clearing the mod2 key still mess up my xmonad. I&#39;ve tried remapping the numlock keycode to nothing or to some other key, with no success.</div>
<div style><br></div><div style>I&#39;m at my wits end.</div><div style><br></div><div style>Thomas Løcke</div></div>