mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-09 10:39:36 +01:00
987 B
987 B
Story: I know I'm suffering this from so much. Everytime I install a new system, I'm fooled by the application I'm using whenever I try to do something with 'Ctrl'. My left Ctrl is broken so I remapped my Caps Lock to Ctrl. It was one of the best things I have done ever! I would remap it even if I have a fully functioning Ctrl key now.
Here is how it should be done:
If you want to remap it for X server, add the following line to your ~/.xsession
or ~/.xinitrc
. Make sure to add it before exec whatever_window_manager
you are using:
setxkbmap -option 'caps:ctrl_modifier'
And for console: