How to get Synergy to Autostart at login on Ubuntu 16.04

13,875

Solution 1

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!

Solution 2

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

Share:
13,875

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin almost 2 years

    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

  • Smile
    Smile over 5 years
    The program autostarts, but I have to configure everytime I boot up. How do you make it work at the system booting up?
  • Boris Hamanov
    Boris Hamanov over 5 years
    @Smile make sure you have the latest version, then start it manually, configure it, quit the app, and it should remember the settings.