Using a Microsoft keyboard with a MacBook is possible but has one major drawback: The “Option” and “Command”-keys are exchanged and called “Windows” and “Alt”-keys.

Fortunately swapping the keys so that the “Command” and “Option”-keys are in the same location like on an Apple keyboard is very simple:

  1. Open your “System Preferences”
  2. Select “Keyboard & Mouse”
  3. Select the “Keyboard”-tab
  4. Click on “Modifier Keys…”

In the resulting dialog map the Option Key to “Command” and vice versa. This is a screenshot made with Tiger, the dialog in Leopard looks a little bit different:

Key Mappings

Voila - that’s it. Now the Microsoft keyboard should behave just like an Apple keyboard.

Now, for one additional problem (if you are still using Tiger or before):

I am using my MacBook Pro in my office, so I’m frequently connecting and disconnecting my keyboard. Since my external keyboard is an ergonomic keyboard with Microsoft keys I would have to change those settings each and every time I connect or disconnect the keyboard. This is only the case if you’re still using Tiger or before, because in Leopard you can set the keys for each keyboard type as shown in this screenshot: Keyboard settings in Leopard

One solution is an AppleScript, which I found on the following website:

Change keyboard modifier keys automatically on OSX with Applescript

Now I have a Quicksilver Trigger to execute this Applescript, which makes the swapping of the “Command” and “Option”-keys quick and painless!

I’m not using an Apple-keyboard when working on my desk with my MacBook Pro, which creates a number of small but not serious annoyances. One of those annoyances are the reversed Command- and Option keys, another one is the missing “Eject” button.

So I tried to figure out how to eject CDs and DVDs from my MacBook Pro using Quicksilver. What I discovered was something that probably a lot of users know, but I didn’t . So I thought I’ll share it here:

If you don’t have an “Eject” button on your keyboard you can just press and hold the “F12″ key for two seconds and you CD/DVD will be ejected!
(Small disclaimer: I think you need at least Mac OS 10.2 for this to work!)

F12 Key

It’s that simple, no need for some fancy Quicksilver action. Sometimes life is just so much easier than expected.

A Quicksilver trigger is a convenient way to define a global shortcut, accessible no matter which application is currently active or the frontmost.

There are two kinds of triggers: Keyboard and Mouse triggers. The mouse trigger is very similar to the keyboard trigger, only that you click a mouse button along with some function keys instead of just a key.

Here is how to create a trigger in Quicksilver to do something very basic, for example launch Apples “Mail” application:

First select “Triggers” from the Quicksilver menu in your toolbar at the top of your screen:

Toolbar Preferences

In the dialog that appears Click on the little plus-sign at the bottom and select “HotKey” for a keyboard trigger or “Mouse” for a mouse trigger. In my example I am selecting “HotKey” for a keyboard trigger:

Create Trigger

Quicksilver will show a dialog very similar to the normal Quicksilver interface. Define the trigger exactly the same way you would ususally use Quicksilver to do something. So in this example I select “Mail” as item and “Open” as the action:

Define Trigger

You should now have a new trigger to open the mail application, so the only thing left is to define which key combination will invoke the trigger. To do that select your new trigger and click the little “i”-button at the bottom right of the dialog:

Open Drawer

A drawer will open with the details of the trigger:

Trigger drawer

Click on the “Edit” button for the hot key. Enter the key combination you would like to use for the trigger.

I always use the combination “Shift-Control-Command” along with a defining key for all my Quicksilver triggers. This key combination may feel odd at first, but it didn’t take long for me to get used to it. The advantage of this combination is that it only very seldom causes any conflict with keyboard shortcuts in other applications.

This concludes the creation of a keyboard trigger. Mouse triggers are created similar, only that the drawer to define the Hot Key looks a bit different to cater for the options you have when using a mouse.

« Previous EntriesNext Entries »