LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-17-2011, 06:16 PM   #1
Muhnamana
LQ Newbie
 
Registered: Jan 2011
Distribution: Lubuntu 10.10
Posts: 2

Rep: Reputation: 0
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.

Last edited by Muhnamana; 01-17-2011 at 06:18 PM.
 
Old 01-17-2011, 06:54 PM   #2
Muhnamana
LQ Newbie
 
Registered: Jan 2011
Distribution: Lubuntu 10.10
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lubuntu- Wireless works fine in LXDE, but not icewm or openbox FunkyPenguin Linux - Newbie 7 01-17-2011 06:11 PM
KDE 4 Autostart Program Bash Script to Write Autostart Bash Scripts for You! jdmcdaniel3 Suse/Novell 1 05-03-2010 06:17 AM
LXer: Lubuntu (w/ LXDE) 10.04 Lucid Lynx Alpha 3 Released, Gets New Artwork LXer Syndicated Linux News 0 02-26-2010 07:20 PM
[SOLVED] lxde desktop program links mark_alfred Linux - Desktop 4 12-22-2009 12:58 PM
LXer: First Test Images of LXDE Lubuntu Available LXer Syndicated Linux News 0 09-03-2009 10:11 AM


All times are GMT -5. The time now is 09:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration