Synergy Client Startup on Ubuntu 8.04
by Craig Mayhew on Aug.15, 2008, under Guides/Fixes
To automatically start synergy at the login screen:
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:
synergyc ––daemon ––name CLIENTNAME SERVERIP
December 4th, 2010 on 8:08 pm
I think you meant ––daemon and ––name:
synergyc ––daemon ––name CLIENT SERVER
Thanks,
- James
December 5th, 2010 on 1:59 am
It appears that the content management system is dropping duplicate hyphens (probably what happened in the original post as well). My previous comment was intended to indicate that there need to be double hypens (two dashes) before the daemon and name parameters.
Thanks,
- James
December 8th, 2010 on 8:20 pm
You are correct. I’ve fixed your comment and my original post, thank you James for pointing this out.