See other configs. More details are in the Synergy configuration guide.
In this example, ubuntu is the server which is positioned directly to the right of the client freedom. The mouse pointer on ubuntu will wrap the left edge of the screen onto the right edge of freedom, and from the right edge of freedom to the left edge of ubuntu with a small 50msec delay.
Resident only on the server, ubuntu in this case.
section: screens
ubuntu:
freedom:
end
section: aliases
ubuntu:
workpc
freedom:
laptop
end
section: links
ubuntu:
left = freedom
freedom:
right = ubuntu
end
section: options
heartbeat = 5000
switchDelay = 50
end
The /etc/hosts file on the server ubuntu would contain the following lines.
127.0.0.1 localhost.localdomain localhost ubuntu workpc 192.168.0.100 freedom laptop
The /etc/hosts file on the client freedom would contain the following lines.
127.0.0.1 localhost.localdomain localhost freedom laptop 192.168.0.101 ubuntu workpc