Im following a guide already in a book (21 Brilliant Pi Projects)

.
The only thing I cannot do is to get it to work from boot. I have followed a process to create a file named 'autostart' here -
/home/pi/.config/lxsession/LXDE/autostart
And the file contains this -
synergyc -n RaspberryPi 192.168.1.79 - and it works if I type that directly into a terminal.
But I don't think the file is actually starting at startup. The guide said put this into a terminal to make is an executable and load at startup -
chmod +x /home/pi/.config/lxsession/LXDE/autostart
I have done this, and it doesn't say anything when you enter the command and the file still just looks like a leafpad file rather than some kind of executable, so I dont think its working?