Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running a Synergy server on Ubuntu and a Synergy+ client on OSX. The server has a standard windows keyboard with shift, ctrl, windows, and alt keys. My MacBookPro has shift, fn, control, alt/option, and command keys.

When I press ctrl-c, ctrl-v, etc, the appropriate copy/paste action doesn't happen on the Mac, but it does in Ubuntu. If I'm controlling the mac, and press alt-c, alt-v, then I get the copy/paste action.

So I played around with key mapping in synergy.conf and found that the following allows me to do copy/paste with ctrl-c/ctrl-v:

section: screens
    godzilla:
    mbp.local:
        ctrl = alt
        alt = ctrl
end

Is this all that I need to do? Or are there other mappings that will help as well? The synergy configuration page refers to the following key mappings. What are the equivalent keys for each of these on the Windows keyboard and Mac keyboard? What is a meta or super key?

shift = {shift|ctrl|alt|meta|super|none}
ctrl = {shift|ctrl|alt|meta|super|none}
alt = {shift|ctrl|alt|meta|super|none}
meta = {shift|ctrl|alt|meta|super|none}
super = {shift|ctrl|alt|meta|super|none}

Thanks!

share|improve this question

5 Answers 5

up vote 9 down vote accepted

I was in a similar situation at one point, and I found a somewhat 'unique' way around it. Plug the keyboard directly into your Mac, and edit the keyboard preferences directly. After that, any non-Apple keyboard you attach will use those mappings.

  1. Plug in they keyboard.
  2. Open System Preferences (Apple Menu -> System Preferences).
  3. Enter "Keyboard" preferences (under Hardware).
  4. From the "Keyboard Mapping" (or similarly named) tab, change the key mapping as you see fit.

Synergy+ will use these key mappings, since it identifies as a virtual keyboard.

EDIT: Equivalent mappings, based on function:

Linux   │ Mac
────────┼─────────
Control │ Command
Alt     │ Control
Meta    │ Alt
Shift   │ Shift
Super   │ Super

Mac has the extra modifier key (kind of like the old EMACS-style keyboards, which had up to 5 modifier keys). Super is generally deprecated, so you shouldn't have to worry about remapping it.

share|improve this answer
    
Thanks for the info, this helps! But I think I'm still not getting something right. Do you know what exact mappings should I use? Could you provide me with the key mappings from your synergy.conf file so I can make sure to get this right? –  Tauren Jan 2 '10 at 20:16
    
Running the server on my Windows 7 instead of Linux, and these applied. The important thing to understand is that it seems like "Meta" is apple's "apple" key. –  dtbarne Sep 28 '12 at 15:59

Super is the "Windows" key on most keyboards. Meta is (I believe) the Esc key.

share|improve this answer
    
Meta is typically Alt, or Alt+Esc. –  Andrew Scagnelli Jan 1 '10 at 22:26
    
Ok. I'm used to it being Esc from Emacs. –  etlovett Jan 1 '10 at 22:41

For what it's worth, I finally took the time to figure out my Synergy mapping setup.

Linux server (desktop), OS X client (macbook). I wanted the following:

  • Ctrl on desktop -> Ctrl on macbook
  • WinKey on desktop -> Command on macbook
  • Alt on desktop -> Alt/Option on macbook

This allows for the same keyboard mappings that my Hackintosh desktop keyboard uses, so keyboard shortcuts like copy/paste are still different between Linux and OS X, but I'm okay with that.

I used the following config:

section: screens
    desktop:
          # Linux server, no mapping
    batbook:
        # OS X client
        ctrl = ctrl
        alt = meta
        super = alt
        # meta = ??  # no idea where this shows up on the client end
end
share|improve this answer

I have a mac full size keyboard plugged into my PC which is synergy server.

When connected to mac client (osX mountain lion), I've switched ctrl and commmand keys so that ctrl-c copies regardless of machine.

This is done in the synergy gui by double clicking the client and setting:

ctrl: Meta meta: ctrl

I hope this helps!

share|improve this answer

If you're used to a PC keyboard and want to control your Mac remotely without changing your setup, your map the remote Macintosh computer in Synergy with the following:

Shift: Shift

Ctrl: Meta

Alt: Alt

Meta: Ctrl

Super: Super

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.