Shift+Caps
Started by: briguydbriguyd
On: 1158726839|%e %b %Y, %H:%M %Z|agohover
Number of posts: 1
rss icon RSS: New posts
Summary:
Instead of switching Caps with another key, why not just make it harder to accidentally hit?
Shift+Caps
briguydbriguyd 1158726839|%e %b %Y, %H:%M %Z|agohover

Recently, I have become fed up with the Caps Lock key. It always got in the way. I still wanted my keys where they were, but the Caps Lock key was annoying. So, as a Linux user, I sought to change it. I found out about xmodmap through this site, and liked the idea of changing my key layout. However, I didn't want to move the Ctrl key or anything drastic like that, I simply wanted an easy way to not hit the Caps Lock by accident. So I searched and searched and did some experamenting, and came up with this solution: Simply change the Caps-Lock to be Shift+Caps-Lock. This will eliminate almost all accidental use of Caps, while keeping it in a convenient and easy to remember location. To do this, simply have xmodmap use a file with these contents:

clear lock
keycode 66 = NoSymbol Caps_Lock
add lock = Caps_Lock

Obviously change "66" with whatever number "xmodmap -pk" says is your Caps_Lock key. Save this file as ".Xmodmap" and type
xmodmap ~/.Xmodmap

Into the terminal. Append "/usr/bin/xmodmap ~/.Xmodmap" to the end of your ".bash_profile" file in your home directory, and you're set! Easy as pie!
Reply  |  Options
Unfold Shift+Caps by briguydbriguyd, 1158726839|%e %b %Y, %H:%M %Z|agohover
New Post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.