Using Synergy and Barrier on Linux, Windows, and macOS

Update 2026: The last version of Barrier (2.4.0) may still be available in some Linux software repositories but the Barrier website says that it is no longer maintained and no longer receives improvements and security fixes. Development efforts have now moved to the Deskflow project. As of this edit, the latest release of Deskflow is 1.27.0. See this article on instructions for installing and using Deskflow.

The proprietary Synergy (https://symless.com/synergy) and the free, Open Source version, Deskflow are magical, cross-platform applications that allow you to use the keyboard and mouse from one of your computers, to control and interact with the desktops of other computers on the same Ethernet or WiFi network. You can even copy and paste clipboard contents between them.

Our article updates Matt Cutts' 2007 blog post described "How to configure Synergy in six steps." (https://www.mattcutts.com/blog/how-to-configure-synergy-in-six-steps) It provides information and illustrates setting up the application on two Linux computers, using it's integrated graphical setup. Although our instructions show the setup for just two Linux computers, with the current releases of Deskflow and Synergy 1, you can setup and control up to 14 client computers running a mix of Linux, Windows and macOS operating systems -- all from a single server computer.

Synergy in action

The current release for Deskflow is 1.27.0 and for Synergy 1 it is 1.22.4. As you might expect for two applications with same origins, the setup is almost identical for both Synergy 1 and Deskflow 1.27 so we'll show only the Deskflow screens in the instructions below.

An upcoming release of Synergy currently in beta is Synergy 4 Dragon with many enhanced features. The current release for Synergy 3 is 3.9.1 and is designed to detect all computers with Synergy 3 installed as long as they are on the same network. It also automatically establishes an initial configuration for you. You can adjust the configuration graphically to reflect your actual setup. You can even overlap screen positions in ways that the open source versions don't support. Below is my configuration. All four computers use the same keyboard and mouse connected to the Thinkpad T460 laptop! For each of the 4 computers I have ensured that Synergy starts up automatically when the computer reboots.

Synergy 3 layout screen

Configuring Synergy 1 and Deskflow

With the software's graphical, drag and drop setup, you can be controlling multiple Linux, Windows, and macOS computers in seconds. In our example, the keyboard and mouse are connected directly to an HP Dragonfly G4 runninLinux Mint Cinnamon, so we will be using them to control both this Linux computer, and an older XPS-13 computer, also running Linux Mint Cinnamon. The controlling computer is considered by Deskflow to be the "server" but we don't need to worry about that terminology, since the setup doesn't require that you know at that all. Here are the steps:

Installing and starting Deskflow 1.27.0 on Linux

  1. To install Deskflow, download it from your Linux repositories or use the latest release for your operating system from github. Installations for other operating systems are described on github here.
  2. Next, determine where your computers are (or will be) located. In my case, I have an HP Dragonfly G4 laptop (Linux Mint Cinnamon) sitting in the center of my desk. I have an older XPS 13 9360 (Linux Mint Cinnamon) on the right side of the desk. My keyboard and mouse are between the two, and are connected wirelessly to the Dragonfly. Although I also have a Macbook Air computer to the left of the Dragonfly, we won't consider it for purposes of these instructions. Once you have Deskflow installed on all of your computers, the configuration steps are the same as described for the XPS 13 regardless of what version of Linux, Windows or macOS you are using.
  3. Open the Deskflow application on each computer. For most Linux distributions, Deskflow is located in Applications or Menu > Accessories > Deskflow.
  4. On my Dragonfly (the controlling computer) in the Deskflow dialog box that appeared first, I selected the make this computer the server option, and clicked the Configure Server button. 
  5. The name of your computer should be recognized automatically but if it isn't, on the configuration screen, double-click the rectangle in the center of the screen and enter your computer name as the Screen Name. When I installed Linux Mint Cinnamon on my main laptop, I named the computer "Dragonfly" so that is what shows up for me. 
  6. Drag the monitor icon from the upper right onto one of the 14 vacant squares. Since my XPS-13 is on the right, I dropped the icon to the right of the Dragonfly's icon. I double-clicked on the "Unnamed" icon that was just created. When I installed Linux Mint, I named the computer "XPS-13-9360", so that's the name I used for it's Screen Name. Click Save to save the settings. Click Start on the main dialog box to start Deskflow on the server computer (Dragonfly).
  7. For each of the client computers, select make this computer the client. 
  8. To set up Deskflow on the client computers, we need the IP address from the server computer. The Dragonfly's IP address is displayed at the top of the Deskflow server dialog box right after installation. In my case it is 192.168.68.109. Enter that IP address of the server in the Connect to: field. Click Connect to make the connection with the server computer.
  9. After you've started the connection, wait a second or two and after you click OK to confirm a secure connection, the two computers are then ready to use. To test, I moved the mouse to the right edge of the Dragonfly screen and beyond. It now appeared on the XPS-13 screen on the right! Now when I open a document and type on the keyboard, my text will appear on the computer where the mouse is located.
  10. As a final step, remember to add Deskflow to the Startup Applications list for each computer.