Using your keys


Thursday, November 15th, 2007 at 3:38 pm, apps

When I ask you (assuming you are an IT guy, I don’t think other people will find their way here) when you used caps lock the last time you will probably answer never. Anyway, I’m sure you did, though without noticing it aND IT WAS JUST A BIT ANNOying @*#!^.

Because I use the ctrl key in my favorite editor all the time (not to copy/paste code ;) ) and it is in such an unnatural position there are days my hand start to hurt me or feel cramping because of the crippled position I force it into for hours. Then I usually have to stop typing (”Oh no!”) and wait a few hours until I can continue again.

However, its possible to map the caps lock key to the ctrl key. Here is how:

Linux

Load

keycode 0x42 = Escape

into your xmodmap

Mac

Tiger
In Keyboard & Mouse settings, Keyboard, Modifier Keys… choose ^ ctrl for caps lock

Panther
I don’t have panther installed but maybe fKeys works for you.

Windows

Create a file called mapper.reg and paste

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,01,00,3a,00,00,00,00,00

in. Then double click, import it to your registry and reboot. (You may want to backup the existing value first)

Tags:

6 Responses so far

  1. Reto Bachmann Says:

    I guess now I know why after you went somebody claimed his keyboard was broken.

  2. Tobias Says:

    Muahaha. That was really funny “He messed up my computer!”.
    At least he fixed our three-weeks-AccessDenied bug with a simple “pinned” statement and helped us shipping. You should get him more to our office, the coffee breaks just with you are pretty boring :P

  3. Chrigi Says:

    Yes steve. You should be happy you weren’t around then. First you fix his ultra-serious-one-month bug in half an hour “the one who wrote that is just stupid. What? senior dev? then he is even more stupid!” and then mess up his computer :D He would have killed you!

    btw, blog about that pinned stuff. Its really an interesting topic.

    @Tobi
    at least he tells us funny stories during the breaks while you just quote 20 minuten :p

  4. luca Says:

    lol. I thought he just works for my company from time to time “im sorry but i cant work more, just too busy”

    Yeye steve.. ;)

    now when we have our keyboards configured correctly you should give us some coding posts :)

  5. Reto Bachmann Says:

    @chrigi+tobi
    psst, otherwise he won’t visit us anymore.

    @luca
    Actually I thought the same until a month ago about him and our company!

  6. steve Says:

    @luca + reto
    ah, i just need some money to survive :)

    @reto + tobi + chrigi
    it became a dangerous place for me anyway.. (The “coffee-attack” comes into my mind) :D

Leave a Reply