<div dir="ltr">On Wed, Mar 20, 2013 at 2:26 PM, Brandon Allbery <span dir="ltr">&lt;<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im"><br></div><div class="gmail_quote"><div>Again, you cannot fix this reliably with xmodmap, you must use Xkb. Your solution will work as long as the interaction *in the X server* between Xkb and xmodmap is not disturbed (luckily for you, even the xorg devs are terrified of disturbing it...).</div>
</div></div></blockquote><div><br></div><div><br></div><div style>Xkb is scary. I&#39;ve looked at it, and I cannot even begin to grasp what I need to do in order to accomplish what a short xmodmap one-liner does. That said, I would of course much prefer to do this the right way, instead of my current hackish solution.</div>
<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote">
<div>And again, this is not really an xmonad issue. You are fighting against the essential incompatibility between Xkb keymaps and xmodmap with respect to any modifier whose behavior is hardcoded into an Xkb keymap, a problem which has been known for years (the XFree86/xorg folks have tried to deprecate xmodmap many times since Xkb was added because of this incompatibility, but users won&#39;t use complex-looking Xkb mechanisms to e.g. swap caps lock and control keys).<br>
</div></div></div></blockquote><div><br></div><div><br></div><div><br></div><div style>I&#39;m not saying this is an xmonad issue as such, I&#39;m saying that when I&#39;m using xmonad, weird stuff happens when I use xmodmap to clear my numlock key. The same weird stuff does not happen when I use KDE or Fluxbox. These two WM&#39;s happily accept my .Xmodmap file and numlock stays disabled without other keyboard shortcuts being affected.</div>
<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div>
<div><br></div><div>This *cannot* be fixed in xmonad; the problem is happening in the guts of the keyboard driver in the X server, and by the time xmonad gets involved it&#39;s far too late to deal with it.</div></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">
</div>
</font></span></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra" style>I guess I need to find myself an Xkb wizard and bribe him/her to help me kill the numlock key the right way. Does anybody here happen to know such a person?  :)</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Thomas Løcke</div><div class="gmail_extra" style><br></div></div>