Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    The procedure depends on the distro, so can you let us know which distro you are using.

  3. #3
    Just Joined! wildpossum's Avatar
    Join Date
    Apr 2008
    Location
    Sydney/Australia
    Posts
    92
    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.

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by Cocoras View Post
    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
    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".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...