RickD

Mapping Mac Command and Option Keys to a Windows Keyboard

25 posts in this topic

I have a windows server and two macs

I'd like the Windows Key to function as the command key on both macs.  I'd also like to map some Windows key to be the option key on the Macs, although Option is seldom used any more.

How can I set this up?

Thanks

Share this post


Link to post
Share on other sites

Hi @RickD. Have you tried setting it up on your server's server configuration interface? If you double-click on your machine's screen name, you should see an option to change the modifier keys.

Share this post


Link to post
Share on other sites

Yes I need further assistance. I have not solved the original issue.  How do I map Windows keyboard keys to Mac Command/Option keys with a Window machine as sever and Macs as clients?

The knowledge base information provided is not clear.

Share this post


Link to post
Share on other sites

Which part of the knowledge base article is not clear @RickD?

Share this post


Link to post
Share on other sites

Hi there. Was this ever resolved please? I tried going into the keyboard settings and changing option and command around but it would seem that Synergy overrides this. I made the mistake of buying a keyboard and without realising, they've swapped the command and alt button around. How very annoying of them

5a8ed734eee28_ScreenShot2018-02-22at14_43_41.thumb.png.e7fdbe1efb98661cfdd92cc8b733d7e4.png

Share this post


Link to post
Share on other sites

Hello,

Issue #1:

I'm trying to remap the physical keys that are attached to my primary (Synergy server) machine that is running macOS High Sierra (iMac 27-inch, Late 2013).

My secondary machine is an Ubuntu/Linux Laptop (Dell XPS 13 Developer Edition).

The default key mapping is:

Quote

 

macOS Option Key -> Linux Alt Key

macOS Apple Key -> Linux Windows Key

 

Regardless of labels, these two keys are physically placed in inverted positions. I would like to have:

Quote

 

macOS Option Key -> Linux Windows Key

macOS Apple Key -> Linux Alt Key

 

Caveat:

I do not want to remap the keys directly on my secondary laptop (Ubuntu) settings because the physical (local) key maps should remain consistent and familiar. I only want the keys to be remapped when I'm controlling Ubuntu from the macOS physical keyboard.

Please do not respond with advice on how to remap physical keys directly on Ubuntu, I already know how to do this, but do not wish to.

Issue #2:

I was unable to find links on Symless.com to any documentation whatsoever. I'm certain this is not an unusual request and I'd rather not trigger an individual support ticket that just gets repeated over and over. Hiding the forums behind a "Help" button that looks more like a "Support Ticket" isn't the right way to do this.

Please update the website main navigation to include direct links into installation, FAQ or troubleshooting content.

Issue #3:

I found this forum from external search engine results, and was immediately blocked from searching anonymously by some message that indicated I need to wait 4 seconds before performing another search, but in reality, I was not permitted to search after any amount of waiting until I signed into the forum with my account.

Please update this error message to more accurately reflect what's going on.

Issue #4:

I was able to find a number of articles (here and elsewhere) that indicate I should be able to double-click on the machines in the Synergy configuration screen. Unfortunately, this does not seem to work for me and might be a bug in the latest Synergy that might have been caused by macOS High Sierra? In any case, double clicking the machines in my server configuration interface does not seem to do anything.I eventually found this post and found the following issues here:

On 7/27/2017 at 11:11 PM, RickD said:

The link above is now gone (404 error)

Please consider updating the thread with a new link or at least delete that now-misleading post.

Troubleshooting Steps:

I have quit Synergy and restarted it. I have rebooted both computers. I have unchecked and checked the Synergy application in macOS Security and Privacy settings. All to no avail.

Double-clicking on machines in the Synergy configuration dialog has no apparent effect on my computer.

 

Thanks in advance for your help.

Luke

Share this post


Link to post
Share on other sites

I have a similar issue. I have a Keyboard that allows me to change the keys from the keyboard itself. So i have set windows key to be command from the keyboard. However, Synergy is automatically mapping the key that it thinks should be Windows to command is reversing the setting I have set on the keyboard.

Any suggestions for disabling automatic key-switching?

For Reference the KeyBoard is WASD brand 10keyless

Edited by Mohammad Minaie

Share this post


Link to post
Share on other sites

Just in case anyone else runs into this issue with a Windows + Mac configuration, here's how I have mine set up and what it does.

Steps:

Click "Configure Server"

Double click on the Client Machine

Under "Modifier Keys" on the right side of the window, here is what's what.

Shift and Control are the same for both.

Alt = Option (on Mac)

Meta = Command (on Mac) and Windows Key (for Windows)

Super = Function (on Mac)

 

I've attached a screen shot of my setup, here's how the keys line up for me. Left side will be Windows, Right side macOS.

Control = Command

Alt = Control

Windows Key = Option

 

Hopefully this helps if anyone is setting this up in the future!

 

 

ModifierKeys.PNG

Share this post


Link to post
Share on other sites

yes, i do. Mostly because users can't change the key mappings in Synergy 2. 

Share this post


Link to post
Share on other sites

I've figured out a solution to this issue for Synergy 2 and will post it in the forum as soon as I document it.  :) 

 

Share this post


Link to post
Share on other sites

This took quite a bit of troubleshooting, and it's a bit of a hack.  These settings assume you're using a Windows system as the server, and the Mac system is the client.

What this will do to map your keys:

  • Windows key 'control' will be 'command' on the Mac client
  • Windows key 'Windows' will be the 'option key' on the Mac client
  • Windows key 'alt' will be the 'control' key on the Mac client

On Windows:

  1. Stop the Synergy service running in the background.
  2. Go to C:\Users\YOUR USERNAME HERE\AppData\Local\Symless\Synergy
  3. Edit the synergy.conf file as follows for the destination Mac under section: screens
  4.     ctrl = meta
        alt = ctrl
        super = alt
  5. Save your changes.
  6. SET synergy.conf THE FILE TO READ ONLY - this is key, since otherwise your changes will get overwritten as soon as the Synergy service restarts.  I had it nuke my test files several times before I realized what was happening.
  7. Restart the server.

I'm going to post this on other related threads to help others as well.  Note that if you change your setup later, you're going to have to undo this change (let Synergy edit the file), make the setup changes, and reapply it.

*  And now for a selfish plug - if you find that this solution saves you time, throw me a follow on Twitch or Instagram (cautionary_snail) - it's free, and follows make me happy since I work hard on my photos, and will be trying to build a Twitch channel soon.  If you work for a company that's awesome (hello to any animation companies, 3d printing companies, etc.) and can send a discount or silly postcard my way, that's especially awesome.  I'd worship you if you can get me early access to The Outer Worlds so I could get a jumpstart on streaming it!  :)

 

Edited by lconover

Share this post


Link to post
Share on other sites

Also please note that the above solution was found to work with Synergy 2.0.12 Beta, so I cannot vouch for any other platforms.  (For some reason, I can no longer edit that post.)

Share this post


Link to post
Share on other sites

Thanks a bunch for that. I will test and confirm to help support. 

Share this post


Link to post
Share on other sites
On 2/8/2019 at 10:45 AM, Mohammad Minaie said:

Thanks a bunch for that. I will test and confirm to help support. 

Hey there Mohammad -- how did it go?  Hoping my solution worked for you.  :)

Share this post


Link to post
Share on other sites
8 hours ago, lconover said:

Hey there Mohammad -- how did it go?  Hoping my solution worked for you.  :)

This wasn't the solution I thought it was. 
I thought this was for fixing Parallels not functioning correctly when running on a Synergy Mac Client.

I did verify that this manually controlled the key output.
 

Share this post


Link to post
Share on other sites
On 2/13/2019 at 7:00 PM, Mohammad Minaie said:

This wasn't the solution I thought it was. 
I thought this was for fixing Parallels not functioning correctly when running on a Synergy Mac Client.

I did verify that this manually controlled the key output.
 

Hey, it's a start at least ...  :)

I found the solution by going through their Synergy Github repository and experimenting with what was documented as supported for Synergy 1.  Perhaps your solution, if it was a feature in Synergy 1, might be found in one of the documentation bits there.   I have found via trial and error that not 100% of the featues in Synergy 1 that are controlled by the synergy.conf file do work in Synergy 2, so it may be a little hit or miss. 

For example, Aliases were a no-go for me, and I have yet to figure out a way to map the Fn key on the Mac keyboard so as to access some of the other Fn+F4/Fn+F5 keystrokes.  If I could just figure out if the Fn key sends any form of Unicode, I might have a chance of figuring it out, but that's mysteriously missing from the bulk of documentation I've looked at thus far.  

Synergy operates as a kind of 'nonkeyboard' on the Mac, so, attempts made to alter configurations for virtual keyboards end up going nowhere.

But always keep an eye out for automatic overwriting of changes made by Synergy 2 when the service restarts and set things to read-only.

Edited by lconover

Share this post


Link to post
Share on other sites

Thanks Iconover. Your solution worked for me!

Share this post


Link to post
Share on other sites
14 hours ago, JaquesPaquage said:

Thanks Iconover. Your solution worked for me!

I'm so happy to hear this. 

While it's not great that we have to suppress certain features (like future autoconfiguration) to get this to work, at least it's a start.  
What I still don't quite get is why this has not yet been included in a new build of the actual Synergy 2.0 software since the functionality is present and activating it merely requires adding the strings to that configuration text file.   It makes me sad that such a great product is not getting the development support to regain these clearly pre-exisitng features via the UI.  Is Symless  no longer investing in this product?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now