LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2004, 03:00 PM   #1
digitalbrutus
LQ Newbie
 
Registered: Mar 2004
Posts: 25

Rep: Reputation: 15
Ways to run programs on startup


I need to run some program as startup (after booting of Linux). What are the different ways of doing it?
 
Old 05-09-2004, 03:06 PM   #2
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
what program? if you want to do something device-wise, like enabling dma, you just add the command to /etc/rc.d/rc.local
 
Old 05-10-2004, 01:52 PM   #3
digitalbrutus
LQ Newbie
 
Registered: Mar 2004
Posts: 25

Original Poster
Rep: Reputation: 15
If i want to display a message box every time my system starts? Hows can i do that? Where shud i give the path name?
 
Old 08-26-2005, 06:07 AM   #4
bhopalsingh
LQ Newbie
 
Registered: Jul 2005
Location: India
Distribution: RedHat7.1
Posts: 1

Rep: Reputation: 0
I assume "Displaying a message box at every login" mean running an application that display a message box every time u login.

Now, there are two ways of doing it.

1. Either you can add one entry in your profile file. e.g if you are using bash as your shell, you can add one entry in ~/.bash_profile

<yourr-applicationpath> &

2. Or you can make use the starting application capability of the Display Manager.
a) For Gnome, add the application in Session preference.
b) For KDE, copy your execuatable at ~/.kde/Autostart directory.


I hope it helps!

~Bhopal
 
  


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
auto run programs at startup?? attila_66 Linux - Newbie 4 10-29-2005 07:01 PM
How can i run some programs on startup? ivj Linux - Software 5 05-21-2005 05:37 PM
Ways To Run Windows & Linux Same Time megadeth Linux - Software 1 03-13-2005 06:45 PM
Ways to run a program... RichardSimmons Linux - Newbie 4 03-25-2004 03:21 PM
Programs run on startup Roy-Svork Linux - Software 4 01-21-2003 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration