Synergy on boot in Ubuntu

Synergy is a great tool that lets you control multiple computers with one keyboard and mouse. If you use Ubuntu, or another linux distro, it may not be entirely obvious how to get synergy to run on boot. Below are the steps I took:

Update July 3, 2010 – I added client installation instructions and headings that hopefully will clarify a few points.

For an Ubuntu Server:

  1. Install Synergy if you haven’t already
    • Frontend applications like QuickSynergy will install Synergy for you
    • Otherwise, you can go to System > Administration > Synaptic Package Manager, and search for “synergy”
  2. Create your synergy config file
  3. Store the synergy config in /etc/synergy.conf
    • From a terminal type sudo gedit /etc/synergy.conf
  4. Set synergy to run on boot
    • Go to System > Preferences > Startup Applications
    • Add Synergy, entering /usr/bin/synergys (note the s on the end) for the command
    • Reboot to test it out

For an Ubuntu client

  1. Install Synergy if you haven’t already (as in step 1 above)
  2. Make sure the Synergy server is up and running. You can ping it’s hostname or ip address
  3. Set synergy to run on boot
    • Go to System > Preferences > Startup Applications
    • Add Synergy, entering /usr/bin/synergyc <server>
      • note the c on the end of the command
      • <server> is the hostname or IP address you were able to ping in step 2
    • Reboot to test it out

I’m sure there are many other ways to accomplish this. If you are interested in learning more about Synergy, the Synergy-plus project maintains an excellent list of Synergy Related Projects.

Comments

  1. […] ricog on May.27, 2009, under Ubuntu In a previous post, I wrote about running Synergy on boot in Ubuntu. Synergy also lets you setup keyboard shortcuts for various actions. Below I show how to setup […]

  2. Jack H. says:

    Nope. This didn’t work for me. Running the latest stuff. Such a shame, I can’t seem to get this working upon boot (let alone login).

  3. Robin says:

    Works like a charm….

Submit a Comment