Yulin Posted February 14, 2021 Share Posted February 14, 2021 Hello, Just two quick feature suggestions for future synergy release. First one is sticky edge -- sometimes the menu bar auto hides itself so it would be helpful in this case to let the mouse stick to the edge instead of going over to another computer directly; Second, someone probably has suggested this before, if two or more computers share the same monitor it would be cool to let the monitor automatically switch the input source to where the mouse is at (too lazy to click the monitor OSD). I know there are hotkeys out there but the mouse location itself should be enough to do the job. It would be even cooler to change the screen in a slide fashion (like the three finger swipe on a Mac when an app is full-screen mode) from one computer to the other. Quote Link to comment Share on other sites More sharing options...
Haytham Elkhoja Posted November 9, 2021 Share Posted November 9, 2021 (edited) On 2/15/2021 at 12:56 AM, Yulin said: Second, someone probably has suggested this before, if two or more computers share the same monitor it would be cool to let the monitor automatically switch the input source to where the mouse is at (too lazy to click the monitor OSD). I know there are hotkeys out there but the mouse location itself should be enough to do the job. It would be even cooler to change the screen in a slide fashion (like the three finger swipe on a Mac when an app is full-screen mode) from one computer to the other. So I use this script to make that happen on my external Dell Monitors #!/bin/sh /Applications/Synergy.app/Contents/MacOS/synergys -f --debug INFO --config ~/synergy.conf | while read line; do if echo $line | grep "switch from \"hek32\" to \"hek16\""; then echo mouse is back /usr/local/bin/ddcctl -d 2 -i 16 fi if echo $line | grep "switch from \"hek16\" to \"hek32\""; then echo mouse just left /usr/local/bin/ddcctl -d 2 -i 17 fi done Explanation: Run synergys and pipe it into a while read line It's important that synergys debugs to INFO We'll capture the line "switch from XXX to XXX" and run a command line when this happens. Requirements: ddctl tool (or something similar that switches monitors from command line You need to stop using the Synergy GUI and run synergys from the command line You need to replace hek32 and hek16 with the name of the different computers. Credits: https://github.com/magdesign/Synergy-monitor-switcher Edited November 9, 2021 by Haytham Elkhoja Quote Link to comment Share on other sites More sharing options...
Haytham Elkhoja Posted November 9, 2021 Share Posted November 9, 2021 Synergy should add support to run a script / or command line every time a switch happens, then running ddctl is simple. Please make it happen. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.