LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Autostart Program in Lubuntu LXDE (on boot) (https://www.linuxquestions.org/questions/linux-newbie-8/autostart-program-in-lubuntu-lxde-on-boot-856915/)

Muhnamana 01-17-2011 06:16 PM

Autostart Program in Lubuntu LXDE (on boot)
 
Ok, very new to Linux and used an old PC to install Lubuntu. I'm trying to get a program to run on boot, instead of when you login. Program being Synergy.

I've got it to the point it will run when you login by adding a line to the /etc/xdg/lxsession/Lubuntu/autostart file. Added "synergyc 111.111.1.11" and it works perfect.

So the main question is, how can I add that line somewhere, somehow to start on boot and not by login?

Any help would be appreciated.

Muhnamana 01-17-2011 06:54 PM

HAHAHA...look at this. Being a newbie, I just found my own solution.

Open the terminal and type sudo gedit /etc/init.d/rc.local and add "synergyc <your ip address>" to the end of the file.
Save and close.

Reboot to test and it should work.


All times are GMT -5. The time now is 12:20 PM.