Executing an action on program exit

Knute knuteh at yahoo.com
Sun Mar 23 11:39:20 EDT 2008


Ok, I am wanting to be able to have an action wait until a program ends
before it executes.

I play Neverwinter Nights, and if I have pulseaudio running, the sound
is scratchy and yuck.

When I turn pulseaudio off, the sound is fine, so what I'm wanting to
do, is to have pulseaudio restarted after nwn exits, and I'm not sure
how to do that.

Here's what I have so far:

 <item label="NWN">
                        <action name="Execute">
                                <execute>
                                                /usr/bin/aumix -w88
                                </execute>
                        </action>
                        <action name="Execute">
                                <execute>
                                                pulseaudio -k
                                </execute>
                        </action-->
                        <action name="Execute">
                                <execute>
                                                /usr/games/bin/nwn
                                </execute>
                        </action>
                </item>

I don't have any application specific anything set up for nwn, so this
is from my gamesmenu.

TIA,

Knute


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the openbox mailing list