On 05/05/2011 07:43 AM, Michael Chase-Salerno wrote:
On 05/05/2011 07:34 AM, Sean Dague wrote:
And lastly, again from the pre meeting and dinner, you can turn your
Caplock into another modifier key that you can use for shortcuts instead
of just MAKING YOU SOUND LIKE A CRAZY PERSON ON THE INTERNET.

Create a file called .Xmodmap in your home directory and make it contain:

! No Caps Lock
clear lock
! Caps Lock as Hyper key (doesn't exist on most keyboards)
keycode 0x42 = Hyper_L
remove mod4 = Hyper_L
remove mod3 = Hyper_L
add mod3 = Hyper_L

Then run "xmodmap .Xmodmap" and it will take. When X starts it will load
this file for you by default, so you only need to do this if you don't
want to log out and back in again the first time you change it.

-Sean


This is also available via "System->Preferences->Keyboard->Layouts" then the "Options..." button. There's a Caps Lock section there, and a bunch of other things as well. Some of the CapsLock options are hidden under the other keys too, for example, if you want to make CapsLock an additional Ctrl, it's under the CtrlKey section.

Mike

There are a bunch of options there, too. I highly recommend that everybody play with reassigning CapsLock to something even if you're not annoyed by it's existence. I've switched caps and esc on all of my comps and it has sped up my work flow amazingly. Now I just have to find out if I can map esc to hyper...

/thor
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
 Jun 1 - Zimbra
 Jul 6 - Jul 2011
 Aug 3 - Scala - 100th MHVLUG meeting

Reply via email to