shahine.com/omar/

homepage | Send mail to the author(s) contact

yet another Microsoft blogger

# Sunday, October 05, 2008

Remapping Alt and Windows keys on a Mac using Bootcamp

One of my pet peeves with Bootcamp, Apple’s software for letting you run Windows on a Mac, is that the default keymapping for Apple keyboards swaps the Alt and Windows keys.

This totally messed with my shortcuts.

I tried using one of my favorite scripting tools, AutoHotKey, to remap the keys but this ended up being flakey. I also didn’t like the idea of relying on a running application to do the swapping.

I ran into a program called SharpKeys that remaps the keys at the OS level. It’s a remarkable little program. You can configure how you want your keys remmaped and then it writes those changes to the registry. This ensures that all users of the computer have remapped keys and that the remapped keys work on non-user space like the Logon prompt.

To remap Alt to Windows you need to:

  1. Get SharpKeys (download)
  2. Create a mapping for Left Alt –> Left Windows
  3. Create a mapping for Left Windows –> Left Alt
  4. Logoff

image

Enjoy!

 

Tuesday, October 07, 2008 3:44:06 AM (Pacific Daylight Time, UTC-07:00)
This is great, but I had a moment of panic when I couldn't press Ctrl+Alt+Delete to login. Let me explain:

The "delete" key on a Mac keyboard is actually "backspace". Apple's Boot Camp driver does a remapping for Ctrl+Alt+Backspace to be Ctrl+Alt+Delete. After doing the remapping that this blog post describes, Apple's remapping no longer works. In order to use Ctrl+Alt+Delete you must now press Fn+Ctrl+Alt+Backspace.
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview