I do all of my work on my MacBookPro because it's very powerful. However, since I commute to and from school by bicycle, I don't want to risk carrying my macbook in a backpack (what if I fall and the MBP dies?). As a result, I use a very low power machine (mid range Pentium4) at home as a thin TeamViewer client, though which I connect to my MBP.

Also, while at school, for ergonomic reasons, I use an external keyboard (wireless) and monitor. This external keyboard is a Windows keyboard, so I need some way to remap alt on my external keyboard to ⌘ and vice-versa.

To this end, I tried using DoubleCommand. While this was a very useful application, it had the nasty side effect of remapping the keys on my MBP's native keyboard as well. Further, I lose the remapping when I connected from my TeamViewer client at home and am forced to use the windows key when I want ⌘.

So I switched to KeyRemap4MacBook. While this required a lot of configuration (and I mean a LOT), which I'm not opposed to, it turned out to be very flaky and decided to remap my mouse when I configured it not to (the same config would change its mind on whether to remap my mouse within 5 minutes). So this turned out to be a no-go.

A friend then told me that synergy is highly configurable, so I'm trying it out, but I don't seem to be able to remap keys on the synergy server (my MBP). Further, I don't know if remapping the keys on the external keyboard will remap the keys on the native keyboard. Also, I will have to do some really weird hackery to get it to work correctly when I connect from home using TeamViewer.

I tried setting up my MBP as the synergy server with the following config file, but that didn't seem to work:

2 Answers
2

Teamview is already attempting to map the keyboard so it is expecting your mapping to be untouched. If you are using KeyRemap4MacBook you what to make the styles mapping selected explicitly exclude TEAMVIEWER so you don't get a double mapping situation.

If you need custom key mapping for this scenario using KeyRemap4MacBook PC to Mac styles you can find a great post here: