Run "sudo vim /etc/gdm/Init/Default" in the command window. This will run the vim text editor to edit the startup script of gdm.
Add the following chunk of text at the beginning of the file. Replace CLIENTNAME AND SERVERIP with your relevant synergy client name and synergy server ip. This loads synergy when kdm is loaded.
# ADDED FOR SYNERGY
/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc ––daemon ––name CLIENTNAME SERVERIP
# END SYNERGY
To get synergy to start once you have logged in:
In the menu simply goto System Menu->Preferences->Sessions, click the Startup Programs tab, click "Add" then just enter the Startup Command: