Jump to content
Get SynergyOpen a support ticket

Keys not interpreted correctly under 1.14.2


David Gunter

Recommended Posts

David Gunter

I have two MacBooks connected via Synergy. On both macs I used the command-alt-rightarrow keys to move to the next space to the right. On the host system, this works. When I mouse over to the other MacBook, the key combo is interpreted as a back space and only works to take my web browser back a page.

Any idea how to debug this? 
 

Link to post
Share on other sites

This is a bug I'm getting, too, with 1.4.0.

A workaround is to remap the shortcuts for switching desktops on the client machine to something like Ctrl-[ and Ctrl-] then use Synergy's Hotkey mapping on the host to remap it back to what I expect just on that screen like in the attached screenshot.

brave_pJ7otbKY1H.png

Link to post
Share on other sites

In my configuration. In my client computer the { [ not works with alt+{ or alt+[ i tryed to make a hotkey, but not works. But work with command + { and command+[ why this happens. When in the hotkeys, i did alt+[

I work with two macs. server Mac Big Sur / client Mac High Sierra

Edited by dcladera
Link to post
Share on other sites
Grandoverseer

I have synergy server (v 1.14.2-stable0c6918b74) running on MacOS 11.3.1, and client running MacOS 11.6 (also running synergy 1.14.2-stable0c6918b74). I can't bring up mission control or switch spaces on the client using Ctrl-up-arrow or Ctrl-right-arrow . Is there a solution for this besides remapping hotkeys on the client? I love synergy, but this feature is important. Can someone help?

Link to post
Share on other sites
On 12/15/2021 at 8:27 AM, Grandoverseer said:

I have synergy server (v 1.14.2-stable0c6918b74) running on MacOS 11.3.1, and client running MacOS 11.6 (also running synergy 1.14.2-stable0c6918b74). I can't bring up mission control or switch spaces on the client using Ctrl-up-arrow or Ctrl-right-arrow . Is there a solution for this besides remapping hotkeys on the client? I love synergy, but this feature is important. Can someone help?

Similar issue here after updating Synergy.

Server: Windows 10 Pro Version 20H2, Synergy Version 1.14.2-stable-c6918b74
Client: OSX Big Sur Version 11.6, Synergy Version 1.14.2-stable-c6918b74

Did some basic testing of a few of the keyboard shortcuts:

  1. Removed all local key remapping on the windows machine in PowerToys Keyboard Manager. 
  2. Made sure mac Modifier Keys were set to default.
  3. Basic synergy config with no keymapping and only the two machines.
  4. Confirmed keypresses were registering on both windows and mac with an online keyboard checker.  All testable keys were responding including arrow keys & the following when on the mac:
    Ctrl = Ctrl, Windows Key = Command, Alt = Option
  5. Confirmed Keyboard Shortcuts on Mac
    Mission Control = Ctrl+UpArrow, Application windows = Ctrl+DownArrow, Switch to Desktop #1-9 = Ctrl+# key, Switch to Desktop to the right = Ctrl+RightArrow, Switch to Desktop to the left = Ctrl+LeftArrow
  6. Tested keyboard shortcuts on the Mac's built in keyboard to make sure they were working locally.

Results when using the synergy server keyboard:

  • Ctrl+UpArrow = Didn't work to open mission control.  If no window was focused there was no action.  Having Finder focused resulted in moving up one item in the current file list. If a text editor was open it resulted in moving up 62 lines unless the starting point was under the 62nd line.
  • Ctrl+DownArrow = Didn't work to show open windows. Similar results as above, no action if no window focused, in Finder it moved selection down one in the file list and in a text editor it moved down 62 lines or to the end of the document if less than 62 lines long.
  • Ctrl+Left/Right Arrow = Didn't work to move to left/right desktops. No action when no window was focused or in Finder.  When focused on a text editor it moved the cursor left or right one word.
  • Ctrl+#Key 1-9 = All of these worked and I could switch between desktops 1-9 

Couple other observations:

  • I set synergy logging on the mac to Debug1 to compare the output of working shortcuts vs. the borked shortcuts but didn't see anything issue with the key codes that were sent.  I also tried checking with the app Key Codes on the mac - it recorded the codes 126/0x7e when pressing Ctrl+UpArrow on the server keyboard but just opened Mission Control without logging any key down info on the client keyboard. 
  • Sublime Text has the shortcuts Ctrl+Shift+UpArrow and Ctrl+Shift+DownArrow to add a cursor to multiple lines.  When testing both of these were still working.
  • When I tested Win+Alt+Left/Right Arrow (Command+Option+Left/Right Arrow) this was also working for me but I only tested in Vivaldi and it has these keyboard shortcuts set up in it's own config.

 

Workarounds I found:

  • I've got aText installed on the mac so I tried creating a snippet that sent an Up Arrow Keypress with Control as a modifier when triggered = this also wasn't working to open Mission Control.  When I created an AppleScript snippet with the text: "tell application "System Events" to key code 126 using control down" that did work to open Mission Control.  I did have to update Privacy settings to give aText Accessibility permissions (double checked and Synergy already has Accessibility permissions set).   I had it working with the abbreviation ;m since I couldn't find a way to assign a keyboard shortcut for aText snippets.
  • I also found instructions online to assign a keyboard shortcut to an AppleScript setup in Automator over on apple.stackexchange.com which allows the above workaround without using 3rd party software.  I had to mess around with multiple app Accessibility permissions to get it working and then after setting the keyboard shortcut it'd ask me about permissions again for every new app that had focus when I used the shortcut (Accessibility and Automation permissions.) When I tried using the Ctrl+UpArrow key combo for the shortcut it also worked but not when focused on a text editor.

 

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
×
×
  • Create New...