Replacing CapsLock with Left-Control on X

Replacing CapsLock with Left-Control on X

Create the file ~/.Xmodmap with these contents: If you are running something like XFree86, add
to your ~/.xinitrc file or ~/.xsession file. If neither of those exist, you can always do it from the command line.