New Mac with an old keyboard.
Posted 2011-08-04 17:31:39 by .


My favorite keyboard

 

I've started at a new place, hurragh! I've got a shiny new Mac Pro to work from.The only slight niggle is that I like to use my keyboard. MacOSX doesn't get the keymappings right for this. I've managed to get it set up as I like using some know-how and a great program call KeyRemap4MacBook. This posting is more for the next job i need to do this on :)

 

KeyRemap4MacBook

http://pqrs.org/macosx/keyremap4macbook/

This program remaps keys on a keyboard. It is able to fix the key mappings when OSX refuses to get it right. Start KeyRemap4MacBook program and then navigate as follows from the menu.

My settings (For Fujitsu keyboard):

Settings -> KeyRemap4MacBook -> "For UK Keyboard users"

Checked:

  • Swap @ and double-quote (")
  • Backslash (\) to Option_L+3 (#), Shift+Backslash(\) to Tilde (~)
  • Section (§) to Backslash (\)

To swap the left handside command and option key so its in the same "place" as a normal Mac keyboard.

  • Change Command_L Key
  • Command_L to Option_L
  • Change Optional_L Key
  • Option_L to Command_L

Success!


MacOsx reassign Home / End key

I want the Home and End key to go to the start and end of the line. The default behaviour is to got to the start and end of the document. This I find quite annoying.

  • Make the directory ~/Library/KeyBindings/ (mkdir -p ~/Library/KeyBindings/)
  • Edit the file ~/Library/KeyBindings/DefaultKeyBinding.dict (vi ~/Library/KeyBindings/DefaultKeyBinding.dict)
  • Add the following contents and save it.

{
    /* Remap Home / End to be correct :-) */
    "\UF729"  = "moveToBeginningOfLine:";                   /* Home         */
    "\UF72B"  = "moveToEndOfLine:";                         /* End          */
    "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
    "$\UF72B" = "moveToEndOfLineAndModifySelection:";       /* Shift + End  */
}

  • Restart or restart the program your using.
  • Success.
 

Comments

On 2012-01-26 16:59:42 *spammer comment* () wrote:
Heya i am for the first time here. I came across this board and I find It really useful & it helped me out a lot. I hope to give something back and help others like you aided me. Oisin: Thanks mister spammer for taking the time to enter captchas correctly.
On 2012-01-26 23:23:40 *spammer comment* () wrote:
whoah this blog is magnificent i love studying your posts. Keep up the good paintings! You already know, many individuals are searching around for this info, you can help them greatly. Oisin: thanks mister spammer.
On 2012-01-27 03:54:15 *spammer comment* () wrote:
Hi, I think your website might be having browser compatibility issues. When I look at your website in Ie, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, very good blog! Oisin: thanks mister spammer.
On 2012-02-09 11:57:45 Oisin Mulvihill (http://www.pythonpro.co.uk) wrote:
Dear mister spammer, I've taken a new approach to dealing with you. By all means keep entering valid captchas. You are helping me train my filters. Your items will be removed and only the nice comments will be left. See above for examples. Cheers, Oisin.
Commenting is currently disabled on this post.