Personal computers have taken over the home of almost every human being on the planet. Some of us even have two or more PCs in our home. Unfortunately, having two computers on the same desk requires two separate keyboards and mouse for each of them. Although it might look pretty for visitors, you in turn will most definitely get tired of switching between keyboards. And when you reach that point, you'll find two solutions to your problem. First:KVMs. A KVM switch (Keyboard, Video, Mouse) is a hardware device that allows you to control multiple computers from a single keyboard, video monitor and mouse. Second: Synergy. The latter is a software client/server application for several operating systems (GNU/Linux, Mac OS X, Microsoft Windows and more) which also allows you to control multiple computers through the same keyboard and mouse. Moreover, your computers will be able to share their clipboards among themselves, enabling you, for example, to copy text from a Linux application and paste it into a Windows application. And unlike KVMs, Synergy was released as a FREE program under the GPL license.
Installing and Configuring Synergy
Synergy is a client/server based application so you must keep in mind the following: - You need to start the Synergy server on the computer with attached keyboard and mouse. - You need to start the Synergy client on ALL computers you want to control with the server's input devices.
To install Synergy on Ubuntu, open a terminal and type:
Although Synergy is installed differently on those systems, its configuration is done the same way on all systems. First of all, you'll need to configure the screens you'd like to use through the synergy.conf file.
Copy the example configuration file: Ubuntu:
The screen section will list the hostnames for each computer. The hostnames need to be real and properly written. The links section allows you to map where each screen should display. For instance, if you have PC1's monitor on the left part of the desk and the PC2's monitor on the left, you'll need to modify the config file as it follows (don't copy/paste, just manually edit it):
PC1:
left = PC2
PC2:
right = PC1
Running Synergy
As I've said earlier, you need to run the server on the machine who's keyboard and mouse you want to share. So, on the server machine, type:
On the client, type:
Using Synergy
If no errors occurred, you should now be able to move the mouse to the corner of the screen and have it roll over in the next system. Once the cursor is on the other server, so is the keyboard.
Good luck and have fun!