swap caps lock and control in X
Rene Salmon
yellowdog-general@lists.terrasoftsolutions.com
Mon, 30 Aug 2004 11:57:19 -0500
Thanks for the reply but that does not seem to work on my PBook G4.
Adding the 'Option XkbOptions "ctrl:swapcaps"' line or "nocaps" just
gets rid of the capslock but does not replace it with Control.
I am running fedora so maybe it a bug.
Thanks
Rene
On Mon, Aug 30, 2004 at 10:34:30AM -0500, Jason Gilbert wrote:
> On Mon, Aug 30, 2004 at 10:12:08AM -0500, Rene Salmon wrote:
> >
> > Does anyone know how to swap the caps lock key for the control key in X?
>
> you can use 'Option XkbOptions "ctrl:swapcaps"' in the InputDevice
> section of your X config file. or use "ctrl:nocaps" to have both keys as
> ctrl. however, on my g3 ibook this doesn't work since the caps lock key
> doesn't work as a regular key where you can hold a key press. it
> immediately sends a key release event even if you're holding it down. ymmv
>
> --
> "sometimes, the urge to strangle someone is so strong it's almost as if there's
> a higher power calling you to follow your instincts..." - bofh 2004, episode 22
>
> http://www.theregister.co.uk/2004/07/06/bofh_2004_episode_22/
--