I use synergy. I would like to synergy to start as soon as I turn on my computer. How do I do that?

To start synergy, the command is:

synergys --config ~/.synergy.conf
link|improve this question

feedback

1 Answer

up vote 5 down vote accepted

Note: As fluteflute points out: My original answer applies to auto-running after you have been logged in.

So here is some info on start Synergy before logging-on.
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:

Unix: 
Synergy requires an X server. That means a server must be running and  
synergy must be authorized to connect to that server. It's best to have  
the display manager start synergy. You'll need the necessary (probably root)  
permission to modify the display manager configuration files. If you don't  
have that permission you can start synergy after logging in via  
the .xsession file.  

Original answer: To start Synergy once you have logge-on to your X-session.

Main Menu - System - Preferences - Startup Applications   
[ Add ]  
  Name:     synergys
  Command:  synergys --config ~/.synergy.conf
  Comment:  synergys  

If you have problems with the ~/, try $HOME/
or as a last resort use /home/your_username/

I just checked my notes... When I connected from Windows to a Linux box , my command was:
/usr/bin/synergyc 192.168.1.16
... maybe the full path is needed.

You are running Synergy as a server, I was running it as a client.. but that shouldn't effect the auto startup.

link|improve this answer
1  
(Note: this will cause Synergy to be run when you log in, rather than when the computer turns on. It may make no difference to you, but there is a difference...) – fluteflute Nov 28 '10 at 12:44
1  
aha.. thanks fluteflute.. There's always something to lean :) – Peter.O Nov 28 '10 at 13:19
Thanks guys!!!! – David Oneill Nov 28 '10 at 14:53
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.