2024-08-24 16:40:13 +00:00
# Synergy
2019-04-26 16:02:45 +00:00
2024-09-10 10:40:35 +00:00
[](https://github.com/symless/synergy/releases)
[](https://github.com/symless/synergy/commits/master/)
[](LICENSE)
2024-09-10 09:39:12 +00:00
2024-08-30 22:15:49 +00:00
[](https://sonarcloud.io/summary/new_code?id=symless_synergy-core)
2024-08-30 20:14:02 +00:00
[](https://github.com/symless/synergy/actions/workflows/ci.yml)
[](https://github.com/symless/synergy/actions/workflows/codeql-analysis.yml)
[](https://github.com/symless/synergy/actions/workflows/sonarcloud-analysis.yml)
[](https://github.com/symless/synergy/actions/workflows/build-containers.yml)
2024-06-26 16:42:02 +00:00
2024-09-06 09:52:21 +00:00
[Synergy ](https://symless.com/synergy ) is a keyboard and mouse sharing app.
Use the keyboard, mouse, or trackpad of one computer to control nearby computers,
and work seamlessly between them.
2024-08-01 15:35:10 +00:00
2024-09-06 09:52:21 +00:00
This project contains the source code for _Synergy 1 Community Edition_ which is actively
maintained.
Synergy 1 Community Edition is free and open source software, and anyone is welcome to build it,
run it, tinker with it, redistribute it as part of their own app, etc.
2024-08-11 00:22:50 +00:00
2024-09-10 09:43:43 +00:00
**Wayland support:** Experimental support in
[Synergy v1.16 ](https://github.com/symless/synergy/releases/tag/1.16.0-beta%2Br2 )
(required >= GNOME 46 or KDE Plasma 6.1).
2024-08-30 14:53:25 +00:00
2024-08-11 00:59:23 +00:00

2024-07-30 19:48:29 +00:00
2024-09-10 09:43:43 +00:00
To use the community edition, we encourage you to build it yourself using the [Build Quick Start ](#build-quick-start )
instructions below or you can install the `synergy` package with your [favorite package manager ](#how-to-install-packages )
(please note that some package managers have older versions and need to be updated).
2024-08-11 00:22:50 +00:00
2024-09-08 08:22:30 +00:00
## Roadmap
2024-09-09 18:17:49 +00:00
| Version | Main goal | Date | Status |
| --- | --- | --- | --- |
| [v1.16 ](https://github.com/symless/synergy/releases/tag/1.16.0-beta%2Br2 ) | Experimental Wayland support (`libei` and `libportal` ) | 9th Sep 2024 | Beta released |
| v1.17 | Cross-platform daemon to replace legacy daemon | 18th Oct 2024 | Planning |
2024-09-08 08:22:30 +00:00
Dates are likely to change. If you have any questions,
please [start a discussion ](https://github.com/symless/synergy/discussions ).
2024-09-05 09:10:26 +00:00
## Goals and Philosophy
2019-04-26 16:02:45 +00:00
2024-09-08 08:22:30 +00:00
Version 1.15 brings a new philosophy of being more approachable to the open source community
2024-09-06 09:52:21 +00:00
instead of wholly focusing on commercial interests.
2024-09-08 08:22:30 +00:00
We still have customers to finance the development of the code, but we are committed to
2024-09-06 09:52:21 +00:00
maintaining and improving Synergy 1 Community Edition for years to come and we're excited to work
with our community of open source users to improve the code for the benefit of everyone.
2024-09-05 09:10:26 +00:00
2024-09-05 09:53:52 +00:00
## Operating Systems
2024-09-05 20:33:34 +00:00
We support all major operating systems, including Windows, macOS, Linux, and Unix-like BSD-derived.
2024-09-05 09:53:52 +00:00
All Linux distributions are supported, primarily focusing on:
2024-09-05 09:56:44 +00:00
Debian, Ubuntu, Linux Mint, Fedora, RHEL, AlmaLinux, Rocky Linux, Arch Linux, openSUSE, Gentoo.
2024-09-05 09:53:52 +00:00
2024-09-06 09:52:21 +00:00
We officially support FreeBSD, and would also like to support: OpenBSD, NetBSD, DragonFly, Solaris.
2024-09-05 09:53:52 +00:00
2024-09-05 09:10:26 +00:00
## Ways to get involved
Here are a few ways to join in with the project and get involved:
* Compile the latest `master` version (see below) and [report a bug ](https://github.com/symless/synergy/issues )
* [Submit a PR ](https://github.com/symless/synergy/wiki/Contributing ) (pull request) with a bug fix or improvement
* [Let us know ](https://github.com/symless/synergy/issues ) if you have an idea for an improvement
## Where to get help
2024-09-08 08:22:30 +00:00
* Join us on [Discord ](https://discord.com/invite/xBFv6j7 ) or [Slack ](https://synergy-app.slack.com/join/shared_invite/zt-d8if26fr-6x~TSTz4skGmTnFP5IPaww#/shared-invite/email ) (`#open source` channel)
2024-09-05 09:10:26 +00:00
* [Start a discussion ](https://github.com/symless/synergy/discussions ) on our GitHub project
* [Read the wiki ](https://github.com/symless/synergy/wiki ) for guides and info
2019-04-26 16:02:45 +00:00
2024-09-10 09:39:12 +00:00
## Build Quick Start
2019-04-26 16:02:45 +00:00
2024-09-06 09:52:21 +00:00
Synergy 1 Community Edition is free and open source software, and anyone is welcome to build it,
run it, tinker with it, redistribute it as part of their own app, etc.
These instructions will build Synergy 1 Community Edition, which doesn't require a license
2024-09-10 09:39:12 +00:00
or serial key. Check the [Build Guide ](https://github.com/symless/synergy/wiki/Build-Guide )
2024-09-06 09:52:21 +00:00
wiki page if you have problems.
2019-04-26 16:02:45 +00:00
2024-08-23 12:11:12 +00:00
**1. Dependencies:**
2024-08-23 11:47:40 +00:00
2024-09-06 09:03:34 +00:00
*Linux, macOS, or BSD-derived:*
2024-06-14 15:32:47 +00:00
```
2024-09-06 09:03:34 +00:00
./scripts/install_deps.sh
2024-06-14 15:32:47 +00:00
```
2019-04-26 16:02:45 +00:00
2024-09-06 09:03:34 +00:00
*Windows:*
2024-08-23 11:47:40 +00:00
```
2024-09-06 09:03:34 +00:00
python scripts/install_deps.py
2024-08-23 11:47:40 +00:00
```
2024-08-23 12:11:12 +00:00
**2. Configure:**
2024-06-14 15:32:47 +00:00
2024-09-06 09:52:21 +00:00
*Linux, macOS, or BSD-derived:*
2024-06-14 15:32:47 +00:00
```
2024-09-06 09:52:21 +00:00
cmake -B build
2024-06-14 15:32:47 +00:00
```
2024-09-06 09:52:21 +00:00
*Windows:*
2024-06-14 15:32:47 +00:00
```
2024-09-06 09:52:21 +00:00
cmake -B build --preset=windows-release
2024-06-14 15:32:47 +00:00
```
2021-02-12 11:56:11 +00:00
2024-08-23 12:11:12 +00:00
**3. Build:**
2024-06-14 15:32:47 +00:00
```
2024-07-02 10:23:56 +00:00
cmake --build build -j8
2024-06-14 15:32:47 +00:00
```
2022-05-03 09:16:48 +00:00
2024-08-23 12:11:12 +00:00
**4. Test:**
2024-06-14 15:32:47 +00:00
```
./build/bin/unittests
2024-09-06 09:52:21 +00:00
./build/bin/integtests
```
**5. Run**
```
./build/bin/synergy
2024-06-14 15:32:47 +00:00
```
2024-08-04 19:04:40 +00:00
2024-09-05 09:10:26 +00:00
## How to install (packages)
2024-08-04 19:04:40 +00:00
2024-09-05 09:10:26 +00:00
Synergy 1 Community Edition is packaged by the community (status shown below).
2024-08-04 19:04:40 +00:00
2024-08-24 16:51:16 +00:00
Synergy 2 is no longer in development and we recommend that package maintainers do not provide it.
2024-08-04 19:04:40 +00:00
2024-09-06 09:52:21 +00:00
Synergy 3 and Synergy 1 (licensed) are available to download from the
[official packages ](https://symless.com/synergy/download ).
2024-08-12 16:23:06 +00:00
2024-08-24 16:51:16 +00:00
**Community edition:**
2024-09-06 09:52:21 +00:00
*macOS:*
2024-08-12 16:23:06 +00:00
```
2024-09-06 09:52:21 +00:00
brew install synergy
2024-08-12 16:23:06 +00:00
```
2024-09-06 09:52:21 +00:00
*Fedora, Red Hat, etc:*
2024-08-12 16:23:06 +00:00
```
2024-09-06 09:52:21 +00:00
sudo dnf install synergy
2024-08-12 16:23:06 +00:00
```
2024-08-24 16:51:16 +00:00
*Debian, Ubuntu, etc:*
2024-09-06 09:52:21 +00:00
*(temporarily broken)*
2024-08-12 16:23:06 +00:00
```
sudo apt install synergy
```
2024-09-06 09:52:21 +00:00
*Arch, Manjaro, etc:*
*(temporarily broken)*
2024-08-12 16:23:06 +00:00
```
2024-09-06 09:52:21 +00:00
sudo pacman -S synergy
2024-08-12 16:23:06 +00:00
```
2024-09-06 09:52:21 +00:00
*Windows:*
*(very outdated)*
2024-08-12 16:23:06 +00:00
```
2024-09-06 09:52:21 +00:00
choco install synergy
2024-08-12 16:23:06 +00:00
```
2024-08-04 19:26:09 +00:00
2024-09-06 09:52:21 +00:00
**Note:** Some packages are temporarily broken. We have reached out to the package maintainers to
resolve this. If you're a package maintainer and have a question for us,
[please let us know ](ttps://github.com/symless/synergy/wiki/Contact-the-team ).
2024-09-05 09:10:26 +00:00
## Package Maintainers
2024-09-06 09:52:21 +00:00
Synergy is already available through most package managers as `synergy` , and we would love to see
the latest version of Synergy 1 Community Edition on every package manager for every OS we support
(Windows, macOS, Linux, Unix-like BSD-derived, etc).
2024-09-05 09:10:26 +00:00
Package maintainers can use `scripts/package.py` to see how we build packages,
2024-09-06 09:52:21 +00:00
but most package maintainers will create a packaging script rather than use our scripts
(which is fine by us).
If you're a package maintainer and have a question, please
[get in touch ](https://github.com/symless/synergy/wiki/Contact-the-team ).
2024-09-05 09:10:26 +00:00
Good packages:
- [Fedora ](https://packages.fedoraproject.org/pkgs/synergy/synergy/ )
- [Arch Linux ](https://aur.archlinux.org/packages/synergy )
- [FreeBSD ](https://www.freshports.org/sysutils/synergy )
- [Homebrew ](https://formulae.brew.sh/formula/synergy-core#default )
- [Gentoo ](https://packages.gentoo.org/packages/x11-misc/synergy )
- [openSUSE ](https://build.opensuse.org/package/show/openSUSE:Factory/synergy )
Broken packages:
- [Ubuntu ](https://launchpad.net/ubuntu/+source/synergy )
- [Debian ](https://tracker.debian.org/pkg/synergy )
- [Chocolatey ](https://community.chocolatey.org/packages/synergy )
2024-09-06 09:52:21 +00:00
It appears that the `synergy` package has been removed or discontinued from some package
repositories. There are many reasons why this may happen, but sometimes if a package maintainer
steps down or leaves the project without finding a replacement, the package might lose support,
leading to its removal.
2024-09-05 09:10:26 +00:00
This can also happen when there are difficulties updating the package to the latest version,
and communication has broken down between the package maintainer and the upstream developers.
If you're a package maintainer and would like to bring the `synergy` package back to life, please
[get in touch ](https://github.com/symless/synergy/wiki/Contact-the-team ) if you need our help.
## FAQ
### Has Synergy moved beyond its goals from the 1.x era?
2024-09-06 09:52:21 +00:00
Our goal for Synergy 1 (including the community edition) has always been and will always be to
make a simple, reliable, and feature-rich mouse and keyboard-sharing tool. We do maintain another
product called Synergy 3, but as this uses Synergy 1 Core (the server and client part of Synergy),
we depend on Synergy 1 to remain stable and modern which is why we continue to develop and improve
the product.
2024-09-05 09:10:26 +00:00
### If I want to solve issues in Synergy do I need to contribute to a fork?
2024-09-06 09:52:21 +00:00
We welcome PRs (pull requests) from the community. If you'd like to make a change, please feel
free to [start a discussion ](https://github.com/symless/synergy/discussions ) or
[open a PR ](https://github.com/symless/synergy/wiki/Contributing ).
It's great that people spin up re-branded forks of Synergy, power to them. However, it's not
necessary if you want to make changes.
If you're thinking of starting your own re-branded fork of Synergy, it might be because we're
doing something wrong so please
[let us know ](https://github.com/symless/synergy/wiki/Contact-the-team ) what we can do to let
you feel welcome in our community.
2024-09-05 09:10:26 +00:00
### Is clipboard sharing supported?
2024-09-06 09:52:21 +00:00
Absolutely. The clipboard-sharing feature is a cornerstone feature of the product and we are
committed to maintaining and improving that feature.
2024-09-05 09:10:26 +00:00
### Is Wayland for Linux supported?
2024-09-06 09:52:21 +00:00
Yes! Wayland (the Linux display server protocol aimed to become the successor of the X Window
System) is an important platform for us.
The [`libei` ](https://gitlab.freedesktop.org/libinput/libei ) and
[`libportal` ](https://github.com/flatpak/libportal ) libraries enable
Wayland support for Synergy. We would like to give special thanks to Peter Hutterer (@whot),
who is the author of `libei` , a major contributor to `libportal` , and the author of the Wayland
implementation in Synergy. Others such as Olivier Fourdan helped with the Wayland implementation,
and we rely on the work of our community of developers to continue the development of Wayland
support.
2024-09-05 09:10:26 +00:00
### Where did it all start?
2024-09-05 23:57:54 +00:00
Synergy was first created in 2001 by Chris Schoeneman.
2024-09-06 09:52:21 +00:00
Read about the [history of the project ](https://github.com/symless/synergy/wiki/History ) on our
wiki.
2024-09-05 09:10:26 +00:00
## Repology
2024-09-06 09:52:21 +00:00
Repology monitors a huge number of package repositories and other sources comparing package
versions across them and gathering other information.
2024-08-24 16:51:16 +00:00
2024-08-04 19:04:40 +00:00
[](https://repology.org/project/synergy/versions)
2024-09-10 10:35:54 +00:00
## License
This project is licensed under [GPL-2.0 ](LICENSE ), with a special exception for linking with
2024-09-10 10:39:09 +00:00
OpenSSL as detailed in the [LICENSE-OpenSSL ](LICENSE-OpenSSL ) file.