Synergy


[ 1 Resources ] [ 2 License ] [ 3 Installation ] [ 4 Configuration ] [ 5 Execution ] [ 6 Debugging ] [ 7 Automation ]

Resources

License

I have the pro version - travel to https://symless.com/synergy/account to get the license key.

Installation

On linux:

# Backend $ sudo apt install synergy # Gui Frontend $ sudo apt install quicksynergy

On Mac - follow https://symless.com/help-articles/mac-install-guide

Configuration

  • Both: Ensure both primary (server) and secondary (client) pc's are aware of each other's hostnames (use /etc/hosts if there is no DNS server) 

  • Server: Create a configuration file (/etc/synergy.conf, ~/.synergy.conf are likely places)

  • Client: The client side needs no configuration except to be aware of the server's hostname.

Configuration File (Server PC)
# snorriheim is the server (also recorded in /etc/hosts on the clients) # snorri-oryx is a client (recorded in /etc/hosts on the server) # lenevo is another client (recorded in /etc/hosts on the server) section: screens lenevo: snorriheim: snorri-oryx: end # Alisases seem to be oft needed when the hostname is other than # the alias being used here section: aliases lenevo: 91106-DStonier.internal.tri.global end section: links lenevo: right = snorriheim snorri-oryx: left = snorriheim snorriheim: left = lenevo right = snorri-oryx end

Execution

Execute Server and Client
# Server synergys --config /etc/synergy.conf # Clients synergyc snorriheim

Debugging

Execute Server and Client

Automation

Create some auto-start scripts and register these in the Autostart section of System Settings as a Script File, run on Startup.

The client side is happy running clients in parallel. I haven't tested parallelising on the server, but that too is probably fine (or there is a smarter way to do so in the configuration?).

/usr/local/bin/synergys-snorriheim (Server PC)
/usr/local/bin/synergyc-snorriheim (Client PC)