Results 1 to 4 of 4
How can i add an shell script to start on boot? im used to xp by just dragging it into a folder, but i have now clue how i can ...
- 06-09-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 4
Boot
How can i add an shell script to start on boot? im used to xp by just dragging it into a folder, but i have now clue how i can do it in linux ....
but i think this is easy to do if you know how :P
- 06-09-2008 #2
The procedure depends on the distro, so can you let us know which distro you are using.
- 06-09-2008 #3
You need to specify your question more exactly - i.e.: provide more details on what your really asking for (tell us what you want to do).
Generally what you need to do varies depending on the flavour fo your Linux distribution, and if you need to add something to the boot process (kernel) or the Booting process of the GUI (KDE, Gnome, Xfce, and so on), a Daemon Process, a User Process whatever!
If your talking about adding some thing to add the the booting process (like adding another device driver modules) you usually add that detail to the /etc/init.d/boot.local file. If your talking about adding some GUI task or effect then it depends on the GUI your using - there are in Linux and Linux GUI's many varied ways to do the same thing unlike Windoze.
I suggest if your running Gnome go to the Gnome forum, for KDE the KDE forum ... etc.
- 06-10-2008 #4Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
That's not starting a process on boot. That's launching a program when you enter your desktop, which is a very different thing.
If that's indeed what you mean, then you just need to learn how to do it on your desktop. I know that in kde you can achieve the thing the same way to do it in windows: by placing the script, program or a symlink into ~/.kde/Autostart/
In gnome and xfce there might be similar ways. For other standalone window managers, read the documentation for each one.
If you really mean "at boot time", then you should check the documentation of your distro, for how to "start and stop services and/or daemons".


Reply With Quote
