Setting up Synergy keyboard/mouse sharing

Download synergy from http://sourceforge.net/projects/synergy2/files/ and install on the machines you want to participate in sharing. For this example let’s say I two systems with hostnames notebook and desktop, and I want to share the keyboard and mouse of desktop.
Create a configuration file, something like this:

 
section: screens
mydesktop:
mynotebook:
end
 
section: links
mynotebook:
[...]