I use synergy. I would like to synergy to start as soon as I turn on my computer. How do I do that?
synergy, the command is:
synergys --config ~/.synergy.conf
Option 1: start synergy before login
The main article is on Synergy's sourceforge site: Starting synergy automatically
Here is a lead-in to the article... there is too much detail to put it all here:
Option 2: start synergy after login
To start Synergy once you have logged into your X-session.
If you have problems with the
I just checked my notes... When I connected from Windows to a Linux box , my command was:
You are running Synergy as a server, I was running it as a client.. but that shouldn't effect the auto startup.
For newer version of Ubuntu that use lightdm.
I have successfully done the following for running the synergy client for the login screen, and after I login. It is much simpler than the other answers, IMHO.
edit /etc/lightdm/lightdm.conf as root.
add the following line to the bottom of the file.
restart lightdm. (it is better to do this from a terminal or ssh session)
I tried Kevin's answer, and while it seemed to work at first but I then started getting some really wacky behavior. I tried using session-setup-script to kill root's synergy and start it as the user in ~/.xprofile, but the wackiness continued. Finally gave up, removed the entries from lightdm.conf and kept the starting as a user in ~/.xprofile after logging in directly. Not perfect, but at least the weird behavior stopped.
I have successfully got this to work using Kevins method above. My Ubuntu machine (12.04) is configured as the client and my Windows machine (Win7) is the server.
Save and reboot.
I had to specify the IP, it wouldnt work with hostname (the Ubuntu client is not on the windows domain) even though I can communicate with the windows machine via hostname once I had have logged into the Ubuntu machine)
For Ubuntu 14.04 (and possibly others, I think 14.04 is the first build that lightdm was changed to this format, but this will work on any build that uses this setup) its simple you just need to edit 50-ubuntu.conf to get Synergy prior to lightdm:
For Client add this line:
For Server add this line:
Save files after edit and reboot (I know you can restart service rather than reboot but I perfer to reboot).
For Server or Client just insert the command that you would enter in terminal to get it to launch with the appropriate options ect...
So say I normally execute the command below in terminal on my client machine to run Synergy.
All I need to do to run Synergy pre lightdm is add the line below to 50-ubuntu.conf
Hope this helps, because the Synergy docs are a bit out of date. Enjoy!