Here we are going to use opensource software called Synergy.
Synergy is an easy to set up open source application that allows you to share a keyboard and mouse between multiple networked computers. The software allows you to share a single keyboard and mouse between Windows, Mac, and Linux computers. It saves you the cost of a KVM.
I demonstrate how to use Synergy to share a keyboard and mouse between a Windows 7 machine and a Ubuntu Linux machine.
- At least two computers with separate monitors
- A network connection (both machines on the same network)
- The Synergy software
Install the Synergy software on both the Windows and the Linux machines. The Windows installation is simple:
- Download the Windows .exe file
- Double-click it, and walk through the wizard.
- Download the installation file for Ubuntu.
- Open a terminal window.
- Change into the directory the file was downloaded into.
- Issue the command sudo dpkg -i synergy-XXX-Linux-xxx.deb (XXX is the release number and xxx is your system’s architecture).
- Type your sudo password. Hit the Enter key.
When the installation for both is complete, you should start the software. When you do this, the main Synergy window will open. You have to set one instance up as the server and one as the client; we’ll set up the Windows machine as the server and the Linux machine as the client.
Let’s open the Windows Synergy application by going to
Start >> All Programs >> Synergy.
When the app opens, it will automatically go to the system tray. Right-click the Synergy icon (the blue and green circle) and select Show. From the new window (Figure A) make sure Server is checked.
The log window is a real-time update of what is happening during the connection phase. (Click the image to enlarge.)
Then click the Configure Server button in Figure A. From the Screens And Links tab in the new Server Configuration window that opens (Figure B), click the monitor icon in the upper right corner and drag it next to the center square. If the client monitor is to the right of the server, drag the client monitor to the square to the right of the server monitor.
Once the client icon is in place, double-click the icon and rename it. You must rename the client with the hostname of the actual client computer. When the client is configured, click the OK button and then click the Start button on the main window.
Now, over to the client machine. On Ubuntu, open the Dash and type synergy. Click the application launcher. The Synergy icon will appear in the notification area. Right-click the icon and select Show. From the main window (Figure C), do the following:
- Select Client.
- Enter the IP address of the computer acting as the Synergy server.
- Click the Apply button.
- Click the Start button.
You should be able to grab the mouse and keyboard attached to the server machine and move it across to the client machine. After you give this amazing little app a try, report back and let us know if it makes you easier.