Re: remapping ctrl and caps key
Re: remapping ctrl and caps key
- Subject: Re: remapping ctrl and caps key
- From: Kentaro Nagamine <email@hidden>
- Date: Wed, 10 Sep 2003 08:29:12 -0400 (EDT)
Oh, sorry, I guess I misunderstood what TR wanted.
Here's what did before.
You just put the little script that is attached at the
end of this message in a file `.Xmodmap' in your home directory
(e.g. /Users/TR). Then the `.xinitrc' takes care of the
rest by doing `xmodmap .Xmodmap' at the start up of X11.
But as I mentioned, this method only sent the CAPS LOCK to
the Ctrl key on PowerBook laptop, and did not make the CAPS into Ctrl, so
it was useless to me.
Hope this helps.
Ken
On Tue, 9 Sep 2003 email@hidden wrote:
> Or you might try this:
>
> http://www.versiontracker.com/dyn/moreinfo/macosx/12106
>
> Please post your solution, as I'd like to know how to do what you're
> doing!
>
> TR
>
> On Tuesday, September 9, 2003, at 10:23 PM, Kentaro Nagamine wrote:
>
> > Hi,
> >
> > I just got a power book G4, and would like to remap the Ctrl key and
> > the Caps lock key under X11. I used to use the following xmodmap script
> > to do this on my previous linux laptop (vaio), but on powerbook this
> > remapped only the CAPS to the Ctrl correctly, and the Ctrl-key went
> > somewhere I don't know. Does anyone know the correct syntax?
> > This isn't really x11 specific question, but still a problem under
> > x11, so
> > I hope it's ok to ask this here.
> > Thanks in advance. -Ken
> >
!
! 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
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.