<div class="gmail_quote">On Thu, Aug 11, 2011 at 12:26 AM, Horton <span dir="ltr"><<a href="mailto:fghorton@knology.net">fghorton@knology.net</a>></span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div bgcolor="#ffffff" text="#000000"><div class="im">I only use most simple function of Auto Hotkeys, not create macros
    or start programs.</div>
    <br>
    I think I must change the key mapping. I tried to understand xmodmap
    and xkeycap, but can't make them work.<br>
  </div>

</blockquote></div><div><br></div><div>I see - I made the assumption you used the automation side of AHK more heavily. If you really just need to move a few keys around, then xmodmap is your friend.</div><div><br></div><div>

Take a look at <a href="http://www.xfree86.org/4.2.0/xmodmap.1.html">http://www.xfree86.org/4.2.0/xmodmap.1.html</a> (or even "man xmodmap") for further information, or give me a description of what you want to achieve and I'll assist you in writing the xmodmap config file. It's pretty straightforward to do... there's a nice example of swapping Caps Lock and Left control... </div>

<div><br></div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; background-color: rgb(239, 239, 239); font-size: medium; "><pre>!
! Swap Caps_Lock and Control_L
!
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L</pre></span>-- </div>Steve<br><br>When one person suffers from a delusion it is insanity. When many people suffer from a delusion it is called religion.<br><br>