Synergy is an open source software lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware.
It’s intended for users with multiple computers on their desk. I have a similar setup at work and till now I was struggling while switching between the desktop PC and the notebook. You could remote desktop to one of the computers, however you would loose out on using both the display units.
The official documentation for configuring Synergy isn’t that straightforward. Here is how I configured Synergy between 2 computers running Windows.
- Install the software on all the computers that will share the keyboard and mouse. In my case I installed the windows version of Synergy on both the desktop and notebook.
- Configure the synergy server on the PC to which the keyboard and the mouse is connected.
- Start Synergy and select “Share this computers keyboard and mouse(server)” option
- Open the configuration dialog by clicking on “Configure”
- Configure the “Screens” and the “Links“. For my above setup, I configured 2 screen and 2 links as shown below.
Note that synergy recommends to input the computer name as the screen name. If you don’t have DNS configured, you can also input the IP addresses in the “Alias” box while configuring the screens.
The links section tell synergy about the position of the configured screens. As you can see from the above image, its not enough to indicate that the laptop is on the left of the desktop. I also need to configure a link saying that the desktop is on the right of the laptop.
Click on “Start” to start the synergy server.
On the client side (i.e. on my laptop), I just need to instruct synergy to use another computer’s keyboard and mouse.
Once the client successfully connects to the Synergy server, you can easily switch between the 2 computers. When the mouse is moved to the leftmost part of the desktop screen, it automatically switches onto the laptop screen. All further keyboard strokes are also directed towards the laptop.
If you are a keyboard junkie like me, you might also want to configure the “Hotkeys” on the server as shown below
I have one key configured to bring the laptop to focus and another to bring the desktop into focus. You can also configure synergy as a service so that its started automatically when you log in.