Find the answer to your Linux question:
Results 1 to 4 of 4
Hello All, I am new to Ubuntu as well as kubuntu ... I installed kubuntu8.10 USB on a 2 GB Flash . its booting well but i need following things ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    45

    Thumbs up Kubuntu 8.10 boot Autostart How ?

    Hello All,

    I am new to Ubuntu as well as kubuntu ... I installed kubuntu8.10 USB on a 2 GB Flash .
    its booting well but i need following things to run my application !!!!!

    In Knoppix5.1.1 USB ,while booting it will search for a knoppix.sh file in Knoppix directory to execute user commands . knoppix.sh file is like post-configuration shell script. and we can put a our application script in the path /etc/skel/.kde/Autostart .

    my question is how to i get in kubuntu ? is there any other option to run my application script in the boot up ?

    thnaks

  2. #2
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    Have you tried working with /etc/rc.local ?

    I do my on-boot stuff in there.

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    45
    I have not tried ...

    let me explain some more points ....

    In Knoppix5.1.1 USB ,while boot up it will search knoppix.sh

    the file contains as follows

    #!/bin/sh

    sudo mkdir /mnt/USB
    chmod 777 /mnt/USB

    sudo cp /cdrom/knoppix/application1.sh /etc/skel/.kde/Autostart

    sudo cp /cdrom/knoppix/application2.sh /etc/skel/.kde/Autostart

    etc

    after boot up the applications will run automatically.

    Before inserting USB to boot we need to put a knoopix.sh file in knoppix directory.
    ( i.e you need to put all the application.sh files and knoppix.sh in a /cdrom/knoppix )


    Is there any such file we need to put in a ubuntu or kubuntu ?

  4. #4
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    If you want those commands to run on boot every time you just put them in /etc/rc.local

    I think that's what you want.

Posting Permissions

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