urnrpw
Last Updated: February 25, 2016
·
534
· ghedamat
237c681a2c9ba59f22f124cd6e7eeea1

use Caps Lock as CTRL on Linux

set in your .xinitrc

setxkbmap -option ctrl:nocaps

or use xmodmap and set in your .Xmodmap

remove Lock = Caps_Lock
add Control = Caps_Lock
Say Thanks
Respond

4 Responses
Add your response

4510
D42a7264714dee5006b9c99d2567a320

Why would that be useful?

over 1 year ago ·
4520
237c681a2c9ba59f22f124cd6e7eeea1

@dpashkevich give it a try for a week and let me know,
if you are spending a lot of time in the shell, emacs or vim it turns out to be REALLY useful :)

over 1 year ago ·
4527
D42a7264714dee5006b9c99d2567a320

I spend some time in the shell but probably not as much as you do :) And I don't use vim or emacs.

So does this reduce finger strain or you do the remapping because you want to use ctrl for something else?

over 1 year ago ·
4528
237c681a2c9ba59f22f124cd6e7eeea1

It greatly reduces finger strain, having an easier-to-reach Ctrl is really useful if you get used to it and it also prevents you to accidentally activate Caps-Lock ( that can lead to bad behavior, especially in VIM :D )

over 1 year ago ·