How to get Synergy to Autostart at login on Ubuntu 16.04
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
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!
Start Startup Applications
from the Unity dash, and add synergy to it. In the command
field, enter/browse to /usr/bin/synergy
.