Results 1 to 10 of 19

Thread: How to kill pulseaudio to play pSX in 9.10?

Hybrid View

  1. #1
    Join Date
    May 2007
    Beans
    65

    How to kill pulseaudio to play pSX in 9.10?

    Hi, i'm trying to kill pulseaudio to play pSX emulator, but every time i kill pulseaudio, pulseaudio restarts by itself.
    I even use a script, but it doesn't work. This is what i use:

    #!/bin/bash
    # A script to disable pulseaudio, run pSX, then renable pulseaudio

    gksu /etc/init.d/pulseaudio stop
    sleep 1
    gksu killall pulseaudio # Forcefully ends pulseaudio if still running
    sleep 1
    exec ./pSX
    sleep 1
    gksu /etc/init.d/pulseaudio start
    I know, i know, i have to improve my english.

  2. #2
    Join Date
    Jan 2008
    Location
    Argentina
    Beans
    755
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to kill pulseaudio to play pSX in 9.10?

    Code:
    gksu /etc/init.d/pulseaudio start
    doesn't this mean that at the end of your script you restart pulseaudio?

    wouldn't it be easier if you just:

    ALT+F2

    Code:
    killall pulseaudio
    before starting PSX manually?
    AMD Phenom II X3 720 Black Edition 2,8 GHz - GIGABYTE GA-MA770T-UD3P - 6 GB RAM Mushkin DDR3 1333 - ZOTAC GeForce 9800 GT 1 GB DDR3

  3. #3
    Join Date
    May 2007
    Beans
    65

    Re: How to kill pulseaudio to play pSX in 9.10?

    Before trying that script, i tried to kill it manually, but it has the power of the resurrection.
    I know, i know, i have to improve my english.

  4. #4
    Join Date
    Sep 2005
    Location
    Dallas, Tx
    Beans
    266
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: How to kill pulseaudio to play pSX in 9.10?

    gconftool-2 -s -t bool /apps/gnome_settings_daemon/plugins/sound/active false

    pkill pulseaudio
    Desktop
    Antec 300 Illusion, Athlon II X4 640, 8GB DDR3 1333, EarthWatts430W, Radeon HD 6670 1GB
    Laptop
    Lenovo Thinkpad Z61T, T7200@2.00GHz, 2GB DDR2, 100gb HD, TPM Encryption

  5. #5
    Join Date
    Apr 2006
    Beans
    7

    Re: How to kill pulseaudio to play pSX in 9.10?

    I had to add this line:

    autospawn = no

    in ~/.pulse/client.conf
    and then
    killall pulseaudio
    to stop pulse-audio from restarting automatically. I can now play warzone2100 and glest with sound.

  6. #6
    Join Date
    May 2007
    Beans
    65

    Re: How to kill pulseaudio to play pSX in 9.10?

    Adding autospawn = no in ~/.pulse/client.conf(i had to create the file) has worked perfectly, thanks.
    I know, i know, i have to improve my english.

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
  •