Remap CAPS key to ENTER in Xwindow

I rarely ever find a need for CAPS lock. After getting fed up with having to take my hand off the mouse constantly to hit enter, I got the idea to remap the CAPS key to ENTER. I found that it made my life much easier and streamlined my typing. Remapping keys is pretty simple and can be done in two commands.

 

setxkbmap -option caps:none
xmodmap -e "keycode 66 = Linefeed"

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.