Skip to content

Instantly share code, notes, and snippets.

@bangonkali
Last active July 2, 2020 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bangonkali/061228799ab6cb5e7781a694f688fc46 to your computer and use it in GitHub Desktop.
Save bangonkali/061228799ab6cb5e7781a694f688fc46 to your computer and use it in GitHub Desktop.

Installing Synergy on Ubuntu 18.04

sudo apt-get install -y libavahi-compat-libdnssd1
sudo dpkg -i synergy_1.11.1.stable_b35+55ec3105_ubuntu18_arm64.deb

To start the Synergy client with systemd, create a service file: ~/.config/systemd/user/synergyc.service

[Unit]
Description=Synergy Client Daemon
After=network.target

[Service]
ExecStart=/usr/bin/synergyc --no-daemon server-name
Restart=always
RestartSec=3

[Install]
WantedBy=default.target
To start the service for your user:
$ systemctl --user daemon-reload
$ systemctl --user start synergyc

To start the service at login for your user:

$ systemctl --user enable synergyc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment