Create a text file named synergy.conf with the following:
right = screen2
left = screen1
In the above example, screen2 is to the right of screen1 and screen1 is to the left of screen2.
To run a server type the command below in a shell. If synergys is not in your PATH then use the full pathname.
synergys -f --config synergy.conf
To start a client enter the following:
synergyc -f server-host-name