Results 1 to 4 of 4

Thread: Running commands on startup?

  1. #1
    Join Date
    Feb 2007
    Location
    North Devon
    Beans
    102
    Distro
    Ubuntu 10.04 Lucid Lynx

    Solved: Running commands on startup?

    I've got Intrepid and can't figure out how to run commands on startup. I've searched online but nothing seems to work so I'm assuming that's for older versions of Ubuntu.

    Basically I want to run LAMPP and a command to kill pulseaudio.

    Any help appreciated
    Last edited by Gibbs; February 6th, 2009 at 05:12 PM.

  2. #2
    Join Date
    Mar 2007
    Location
    Prague, Czech Republic
    Beans
    20
    Distro
    Ubuntu Development Release

    Re: Running commands on startup?

    You can make a simple bash script a add it it to System→Preferences→Session

    Example of scipt:

    Code:
    #!/bin/bash
    
    killall pulseaudio &
    
    "command for lampp"

  3. #3
    Join Date
    Feb 2007
    Location
    North Devon
    Beans
    102
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Running commands on startup?

    Excellent, thanks.

  4. #4
    Join Date
    Jan 2008
    Beans
    588
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Running commands on startup?

    seems like a convoluted way of doing things - letting pulse audio boot up and then shutting it down. why not just go to 'sessions' in control panel (assuming you're on gnome) and remove pulseaudio from your start-up programs, and add 'command for lampp' instead? no need for a script at all...
    'I know lifes a bummer baby, But thats got precious little to do with me' - Monster Magnet

Tags for this Thread

Bookmarks

Posting Permissions

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