On Wed, 10 Oct 2001, Nat Ersoz wrote:
> -----Original Message-----
> From: George Riley [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 10, 2001 8:39 AM
> Can I re-configure the XFree86 system to think I press "ctrl" pc keyboard
> when in fact I press the key labeled "CapsLock", and vice versa?
> I think you can do this with the xmodmap utility.
Reading man xmodmap...
---
One of the more irritating differences between keyboards
is the location of the Control and Shift Lock keys. A
common use of xmodmap is to swap these two keys as fol�
lows:
!
! 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
---
For RH, put this content in, say, $HOME/.Xmodmap, and when you log in it
should pick it up...
> Only good for X, this won't be useful in a non-X environment.
For the console, I think loadkeys is what you want. Indeed, man keymaps
has an example too. Try looking at the keytable script in
/etc/rc.d/init.d/keytable (or /etc/init.d/keytable),
/etc/sysconfig/keyboard, and the manpages for loadkeys and keymaps.
--
Regards, [EMAIL PROTECTED]
My website: http://www.iain.thomas.dial.pipex.com/
XMMS not playing
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie