Keyboard Usability

Steve Flynn anothermindbomb at gmail.com
Thu Aug 11 10:55:31 UTC 2011


On Thu, Aug 11, 2011 at 12:26 AM, Horton <fghorton at knology.net> wrote:


> I only use most simple function of Auto Hotkeys, not create macros or start
> programs.
>
> I think I must change the key mapping. I tried to understand xmodmap and
> xkeycap, but can't make them work.
>

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.

Take a look at http://www.xfree86.org/4.2.0/xmodmap.1.html (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...

!
! 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

-- 
Steve

When one person suffers from a delusion it is insanity. When many people
suffer from a delusion it is called religion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110811/bbd7df41/attachment.html>


More information about the ubuntu-users mailing list