Note: this wiki is no longer maintained. If you have any questions related to this wiki, please post them on the CrunchBang forums.

Translations of this page?:

KEYBOARD Swapping the CapsLock and the left Ctrl keys

If the key immediately to the left of A is Caps Lock and that at the bottom left corner is Ctrl (or vice versa), and you'd like them the other way around, here's how.

Copy the following:

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

If there's no .Xmodmap in your home directory, paste this text into a new file and save it as ~/.Xmodmap; if ~/.Xmodmap already exists, instead paste the text within ~/.Xmodmap and save the result.

That's all. (It's not necessary to specify anywhere that .Xmodmap must be called.) Your future is now key-swapped.


With thanks to KonkaNok (here) and xaos52 (here).

 
howto/swap_capslock_and_left_ctrl.txt · Last modified: 2012/05/25 18:15 by machinebacon
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported

Powered by DokuWiki. Hosted by Linode.
Copyright © 2010 CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.