8

I am trying to get Synergy to autostart at boot on ubuntu 16.04 with no luck. I have seen plenty of ways to do it with 14.4 using lightdm or gnome but how does one go about it in 16.04 using Unity desktop environment.

Any help with this would be greatly appreciated. Thanks in advance.

Cheers

6

You should be able to do it by copying the synergy.desktop file into your ~/.config/autostart/ folder by running the following command:

cp /usr/share/applications/synergy.desktop ~/.config/autostart/

then all you should have to do is to set the permissions on the file:

chmod 664 ~/.config/autostart/synergy.desktop

EDIT: I know this was written a while ago, but you can also just copy the file to the xdg/autostart so that it starts before logging in, probably best to not copy it into both locations so it doesn't start more than once:

sudo cp /usr/share/applications/synergy.desktop /etc/xdg/autostart/
sudo chmod 644 /etc/xdg/autostart/synergy.desktop    

Now when you reboot your host it should autostart synergy.

Hope this helps!

2

Start Startup Applications from the Unity dash, and add synergy to it. In the command field, enter/browse to /usr/bin/synergy.

  • The program autostarts, but I have to configure everytime I boot up. How do you make it work at the system booting up? – Smile Mar 10 at 1:12
  • 1
    @Smile make sure you have the latest version, then start it manually, configure it, quit the app, and it should remember the settings. – heynnema Mar 10 at 3:13
0

Add your server IP on /etc/lightdm/lightdm.conf with synergyc for client.

sudo gedit /etc/lightdm/lightdm.conf

then paste below text:

[SeatDefaults]

greeter-setup-script=/usr/bin/synergyc "Server-IP/host-IP"

then reboot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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