LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-11-2004, 08:18 AM   #1
gianh
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 58

Rep: Reputation: 15
Loading applications on startup


I want to load popfile on startup. I am not a linux guru YET : )

I want to know where are the locations to place startup scripts, programs and applications

I would like to receive a pass or fail status on successful load also

Thanks
 
Old 04-11-2004, 08:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
you've not said anythign about what interface you are using.. gnome, kde, windowmaker, blackbox, fluxbox, pekwm, ion, xfce, xpde, waimea, openbox, metacity... but adding entries to ~/.xsession should load on most window managers
 
Old 04-11-2004, 08:54 AM   #3
gianh
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 58

Original Poster
Rep: Reputation: 15
This is before x if that is the right terminology this is on system startup
 
Old 04-11-2004, 08:58 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
ok, so outside of X there is /etc/rc.local on most systems, but still changes from distro to distro. entries in there will be executed once and only on boot.
 
Old 04-11-2004, 11:49 AM   #5
gianh
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 58

Original Poster
Rep: Reputation: 15
Where do i put the scripts in /etc/init.d to make them load and what is the command to check the status of what loaded nad what failed

Thanks
 
Old 04-11-2004, 11:51 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
writing init scripts is not a particuarly easy thing. most daemon based software or other software relevant to be using an init script will generally have it's own. i would not advocate writing your own. instead just enter the shell commands you want into /etc/rc.local like i have laready said. there is no way to specifically check what has loaded and what hasn't...
 
Old 04-11-2004, 12:40 PM   #7
gianh
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 58

Original Poster
Rep: Reputation: 15
an init.d script is provided. I just dont know where to put it.
And so rc.local is the place for startup huh Thanks

Thanks for all your help do u know where i can put init.d script
thanks again

Last edited by gianh; 04-11-2004 at 12:50 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
x-based applications error while loading kira Linux - Software 2 04-09-2005 11:39 AM
Loading applications BrianD18 Linux - Newbie 15 02-21-2005 07:19 AM
Applications Stalling while Loading NellieR Mandriva 1 07-16-2004 08:54 AM
Help with loading applications??? theonlylivinggo Linux - Newbie 2 02-07-2004 07:58 AM
Loading startup applications? Goonie Linux - General 1 06-28-2003 09:48 PM


All times are GMT -5. The time now is 11:44 PM.

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